Added stack trace print for debugging

https://github.com/tastybento/bskyblock/issues/186
This commit is contained in:
tastybento 2018-06-18 07:45:50 -07:00
parent 108d099156
commit d4951a5873

View File

@ -61,6 +61,7 @@ public class BSBDatabase<T> {
} catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException } catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException
| ClassNotFoundException | IntrospectionException e) { | ClassNotFoundException | IntrospectionException e) {
logger.severe(() -> "Could not load object from database! " + e.getMessage()); logger.severe(() -> "Could not load object from database! " + e.getMessage());
e.printStackTrace();
} }
return result; return result;
} }