mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-30 07:27:36 +02:00
Remove debug error stacktrace
This commit is contained in:
parent
7dd2dff8cf
commit
f1a585f643
@ -94,7 +94,6 @@ public class DBSystem implements SubSystem {
|
|||||||
} catch (DBInitException e) {
|
} catch (DBInitException e) {
|
||||||
Throwable cause = e.getCause();
|
Throwable cause = e.getCause();
|
||||||
String message = cause == null ? e.getMessage() : cause.getMessage();
|
String message = cause == null ? e.getMessage() : cause.getMessage();
|
||||||
if (message == null) e.printStackTrace();
|
|
||||||
throw new EnableException(db.getType().getName() + " init failure: " + message, cause);
|
throw new EnableException(db.getType().getName() + " init failure: " + message, cause);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user