Skip to content

Commit

Permalink
doc-level monitor fan-out approach
Browse files Browse the repository at this point in the history
Signed-off-by: Subhobrata Dey <[email protected]>
  • Loading branch information
sbcd90 committed Apr 2, 2024
1 parent 22459a7 commit e4b7310
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ class DocumentLevelMonitorRunner : MonitorRunner() {
}

override fun onFailure(e: Exception) {
cont.resumeWithException(e)
if (e.cause is Exception)
cont.resumeWithException(e.cause as Exception)
else
cont.resumeWithException(e)
}
},
nodeShardAssignments.size
Expand Down

0 comments on commit e4b7310

Please sign in to comment.