Skip to content

Commit

Permalink
Now the ErrorLogger logs the model version of pathetic being used ins…
Browse files Browse the repository at this point in the history
…tead of the plugin version
  • Loading branch information
Metaphoriker committed Jun 27, 2024
1 parent 957b256 commit 08d78e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static IllegalStateException logFatalError(String message, Throwable caus
log.error("===============================");
log.error("A fatal error has occurred: {}", message);
log.error("Please open an issue on the Pathetic GitHub page with all this information:");
log.error("Version: {}", Pathetic.getPluginInstance().getDescription().getVersion());
log.error("Version: {}", Pathetic.getModelVersion());
log.error("Server Version: {}", Pathetic.getPluginInstance().getServer().getVersion());
log.error("Java Version: {}", System.getProperty("java.version"));
log.error("OS: {}", System.getProperty("os.name"));
Expand Down

0 comments on commit 08d78e2

Please sign in to comment.