Skip to content

Commit

Permalink
Added log message for when a log isn't a certain type
Browse files Browse the repository at this point in the history
  • Loading branch information
drewjj committed Mar 20, 2024
1 parent fae9efc commit 346d235
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,10 @@ public String determineMessageType(OdeMsgPayload payload) {

int lowestIndex = Integer.MAX_VALUE;
for (String key : flagIndexes.keySet()) {
if (flagIndexes.get(key) == -1)
if (flagIndexes.get(key) == -1) {
logger.debug("This log is not of type " + key);
continue;
}
if (flagIndexes.get(key) < lowestIndex) {
messageType = key;
lowestIndex = flagIndexes.get(key);
Expand Down

0 comments on commit 346d235

Please sign in to comment.