Skip to content

Commit

Permalink
AbstractWatchManager.java: log the entire message if an error is not …
Browse files Browse the repository at this point in the history
…a status

Co-authored-by: Steven Hawkins <shawkins@redhat.com>
  • Loading branch information
2 people authored and manusa committed Jan 17, 2024
1 parent 0115f41 commit 9032b56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ protected void onMessage(String message, WatchRequestState state) {

onStatus(status, state);
} else {
logger.error("Error received, but object is not a status - will retry");
logger.error("Received an error which is not a status but {} - will retry", message);
closeRequest();
}
} else if (object instanceof HasMetadata) {
Expand Down

0 comments on commit 9032b56

Please sign in to comment.