#3186: Replace String.format calls in exceptions with simple string concats

This commit is contained in:
Janmm14
2021-09-17 18:14:21 +10:00
committed by md_5
parent 9953698a7c
commit 06bf088d27
3 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ public class BungeeTask implements Runnable, ScheduledTask
task.run();
} catch ( Throwable t )
{
ProxyServer.getInstance().getLogger().log( Level.SEVERE, String.format( "Task %s encountered an exception", this ), t );
ProxyServer.getInstance().getLogger().log( Level.SEVERE, "Task " + this + " encountered an exception", t );
}
// If we have a period of 0 or less, only run once