Report stack traces through the logger (#1050)

This commit is contained in:
altrisi authored and GitHub committed 2021-10-11 03:37:30 -03:00
1 parent 4a580a5a42
commit 7486670918
7 files changed
+16 -17

No files matched your search

@@ -1174,7 +1174,7 @@ public class CarpetEventServer
}
catch (NullPointerException | InvalidCallbackException | IntegrityException error)
{
CarpetScriptServer.LOG.error("Got exception: "+error.getMessage());
CarpetScriptServer.LOG.error("Got exception when running event call ", error);
return CallbackResult.FAIL;
}
}