mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 03:27:37 +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) {
|
} catch (SQLException e) {
|
||||||
e.printStackTrace();
|
Log.toLog(this.getClass(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -43,7 +43,7 @@ public class ShutdownUpdateHook extends Thread {
|
|||||||
downloadNewJar(available, newJar);
|
downloadNewJar(available, newJar);
|
||||||
registerOldJarForDeletion(pluginsFolder, newJar);
|
registerOldJarForDeletion(pluginsFolder, newJar);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
Log.toLog(ShutdownUpdateHook.class, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -129,6 +129,7 @@ public class ShutdownUpdateHook extends Thread {
|
|||||||
try {
|
try {
|
||||||
((URLClassLoader) classLoader).close();
|
((URLClassLoader) classLoader).close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
// Loggers may be unavailable.
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user