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