Report stack traces through the logger (#1050)
This commit is contained in:
1 parent
4a580a5a42
commit
7486670918
7 files changed
+16
-17
No files matched your search
@@ -321,8 +321,7 @@ public class SettingsManager
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
CarpetSettings.LOG.error("[CM]: failed write "+identifier+".conf config file");
|
||||
CarpetSettings.LOG.error("[CM]: failed write "+identifier+".conf config file", e);
|
||||
}
|
||||
///todo is it really needed? resendCommandTree();
|
||||
}
|
||||
@@ -480,7 +479,7 @@ public class SettingsManager
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
CarpetSettings.LOG.error("Exception while loading Carpet rules from config", e);
|
||||
return new ConfigReadResult(new HashMap<>(), false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user