Skip to content

Commit

Permalink
Fixed non-indicative error when setting the default world as the isla…
Browse files Browse the repository at this point in the history
…nds world (#1486)
  • Loading branch information
OmerBenGera committed Dec 1, 2022
1 parent 5173598 commit 4dadabc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -245,7 +245,7 @@ public void onEnable() {
providersHandler.getWorldsProvider().prepareWorlds();
} catch (RuntimeException ex) {
shouldEnable = false;
ManagerLoadException handlerError = new ManagerLoadException(ex.getMessage(), ManagerLoadException.ErrorLevel.SERVER_SHUTDOWN);
ManagerLoadException handlerError = new ManagerLoadException(ex, ManagerLoadException.ErrorLevel.SERVER_SHUTDOWN);
Log.error(handlerError, "An error occurred while preparing worlds:");
Bukkit.shutdown();
return;
Expand Down

0 comments on commit 4dadabc

Please sign in to comment.