Minor cleanup

This commit is contained in:
Ben Woo 2023-09-04 09:54:00 +08:00
parent 17dff457b2
commit f280e2076c
No known key found for this signature in database
GPG Key ID: FB2A3645536E12C8

View File

@ -167,7 +167,6 @@ public class DumpsCommand extends MultiverseCommand {
} catch (IOException e) {
Logging.finer("Log is not ANSI encoded. Trying UTF-8");
// Must be a UTF-8 encoded log then
}
// Try reading as UTF-8 encoded
@ -177,9 +176,8 @@ public class DumpsCommand extends MultiverseCommand {
// It is some other strange encoding
Logging.severe("Could not read ./logs/latest.log. See below for stack trace");
ex.printStackTrace();
return "Could not read log";
}
return "Could not read log";
}
private String getVersionString() {