Skip to content

Commit 4811bfa

Browse files
committed
Adding exception logging
1 parent a7b14fe commit 4811bfa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/dev/koifysh/archipelago/WebSocket.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ else if (part.type == APPrintType.locationID) {
230230
}
231231
}
232232
} catch (Exception e) {
233-
LOGGER.warning("Error proccessing incoming packet: " + e.getMessage());
234-
//e.printStackTrace();
233+
LOGGER.log(Level.WARNING, "Error processing incoming packet: ", e);
235234
}
236235
}
237236

0 commit comments

Comments
 (0)