mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-11-28 12:55:34 +01:00
Hide item serialization errors unless using development branch
This commit is contained in:
parent
4af95632d5
commit
d4cc7ec729
@ -579,8 +579,10 @@ public class Util extends Queue {
|
||||
bos.close();
|
||||
result = bos.toByteArray();
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
catch (Exception e) { // only display exception on development branch
|
||||
if (!ConfigHandler.EDITION_BRANCH.contains("-dev")) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user