Skip to content

Commit

Permalink
Send nonFatalBugReport when unexpected exception occurs.
Browse files Browse the repository at this point in the history
We can recover in this situation.

Context: bazelbuild@8adba4a
PiperOrigin-RevId: 480062429
Change-Id: I93bf1eabeddd57266de02538419240cda76cc45e
  • Loading branch information
joeleba authored and aiuto committed Oct 12, 2022
1 parent 37f6efe commit 7b79c7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ private static DetailedExitCode sendBugReportAndCreateUnknownExecutionDetailedEx
EvaluationResult<? extends SkyValue> result, Throwable cause, BugReporter bugReporter) {
// An undetailed exception means we may incorrectly attribute responsibility for the failure:
// we need to fix that.
bugReporter.sendBugReport(
bugReporter.sendNonFatalBugReport(
new IllegalStateException(
"action terminated with unexpected exception with result " + result, cause));
String message =
Expand Down

0 comments on commit 7b79c7d

Please sign in to comment.