Hide item serialization errors unless using development branch
This commit is contained in:
parent
4af95632d5
commit
d4cc7ec729
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue