mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-26 02:57:52 +01:00
Reduced usage of e.printStackTrace
This commit is contained in:
parent
11d98d491a
commit
a333a24c0a
@ -109,7 +109,7 @@ public class GeoInfoTable extends UserIDTable {
|
||||
}
|
||||
});
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
Log.toLog(this.getClass(), e);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -43,7 +43,7 @@ public class ShutdownUpdateHook extends Thread {
|
||||
downloadNewJar(available, newJar);
|
||||
registerOldJarForDeletion(pluginsFolder, newJar);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
Log.toLog(ShutdownUpdateHook.class, e);
|
||||
}
|
||||
}
|
||||
|
||||
@ -129,6 +129,7 @@ public class ShutdownUpdateHook extends Thread {
|
||||
try {
|
||||
((URLClassLoader) classLoader).close();
|
||||
} catch (IOException e) {
|
||||
// Loggers may be unavailable.
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user