File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -168,15 +168,15 @@ public void register() {
168168 try {
169169 BlueMapAPI .registerInstance (this );
170170 } catch (Exception ex ) {
171- Logger .global .logError ("BlueMapAPI: A BlueMapAPI listener threw an exception (onEnable)!" , ex . getCause () );
171+ Logger .global .logError ("BlueMapAPI: A BlueMapAPI listener threw an exception (onEnable)!" , ex );
172172 }
173173 }
174174
175175 public void unregister () {
176176 try {
177177 BlueMapAPI .unregisterInstance (this );
178178 } catch (Exception ex ) {
179- Logger .global .logError ("BlueMapAPI: A BlueMapAPI listener threw an exception (onDisable)!" , ex . getCause () );
179+ Logger .global .logError ("BlueMapAPI: A BlueMapAPI listener threw an exception (onDisable)!" , ex );
180180 }
181181 }
182182
You can’t perform that action at this time.
0 commit comments