Skip to content

Commit

Permalink
fix log messages
Browse files Browse the repository at this point in the history
Signed-off-by: Surya Sashank Nistala <[email protected]>
  • Loading branch information
eirsep committed Dec 20, 2023
1 parent a2c72d0 commit 6c00e73
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,9 @@ object DocumentLevelMonitorRunner : MonitorRunner() {
}

if (response.status() !== RestStatus.OK) {
throw IOException("Failed to search percolate index: $queryIndex. Response status is ${response.status()}")
throw IOException(
"Monitor ${monitor.id}: Failed to search percolate index: $queryIndex. Response status is ${response.status()}"
)
}
return response.hits
}
Expand Down

0 comments on commit 6c00e73

Please sign in to comment.