File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
core/src/main/java/com/javadiscord/jdi/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ private void loadComponents() {
242
242
} else {
243
243
throw new RuntimeException ("Unable to create ComponentLoader instance" );
244
244
}
245
- } catch (Exception | Error e ) {
245
+ } catch (Exception e ) {
246
246
LOGGER .warn ("Component loading failed" , e );
247
247
}
248
248
}
@@ -261,7 +261,7 @@ private void loadAnnotations() {
261
261
}
262
262
}
263
263
}
264
- } catch (Exception | Error e ) {
264
+ } catch (Exception e ) {
265
265
LOGGER .warn ("Event listener loading failed" , e );
266
266
}
267
267
}
@@ -285,7 +285,7 @@ private void loadSlashCommands() {
285
285
}
286
286
}
287
287
}
288
- } catch (Exception | Error e ) {
288
+ } catch (Exception e ) {
289
289
LOGGER .error ("Failed to load SlashCommands" , e );
290
290
}
291
291
}
You can’t perform that action at this time.
0 commit comments