Skip to content

Commit

Permalink
Merge pull request eclipse-hawkbit#112 from bsinno/fix-log-severity
Browse files Browse the repository at this point in the history
Reduced log severity of invalid incoming messages to warning.
  • Loading branch information
kaizimmerm committed Mar 31, 2016
2 parents 802288c + b839fd4 commit 13c38c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected final String getStringHeaderKey(final Message message, final String ke
}

protected final void logAndThrowMessageError(final Message message, final String error) {
LOGGER.error("Error \"{}\" reported by message {}", error, message.getMessageProperties().getMessageId());
LOGGER.warn("Error \"{}\" reported by message: {}", error, message);
throw new IllegalArgumentException(error);
}

Expand Down

0 comments on commit 13c38c1

Please sign in to comment.