mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Add better error logging to catalog manager
This commit is contained in:
parent
e244bc20cf
commit
899d6cd95a
@ -40,6 +40,7 @@ import gnu.trove.map.hash.TIntObjectHashMap;
|
||||
import gnu.trove.procedure.TObjectProcedure;
|
||||
import gnu.trove.set.hash.THashSet;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.sql.*;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
@ -729,6 +730,8 @@ public class CatalogManager {
|
||||
if (pageClazz != null) {
|
||||
try {
|
||||
catalogPage = pageClazz.getConstructor(ResultSet.class).newInstance(page);
|
||||
} catch (InvocationTargetException e) {
|
||||
Emulator.getLogging().logErrorLine(e.getCause());
|
||||
} catch (Exception e) {
|
||||
Emulator.getLogging().logErrorLine(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user