Skip to content

Commit

Permalink
Change to a lower-noise reporting method.
Browse files Browse the repository at this point in the history
It can avoid to keep sending Third eye reports, but still get error message to help further investigation.

PiperOrigin-RevId: 442896050
  • Loading branch information
emilyguo1 authored and copybara-github committed Apr 19, 2022
1 parent 45deb11 commit 54f410c
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,9 @@ public static ComputedToolchainContexts computeUnloadedToolchainContexts(
(UnloadedToolchainContext)
values.getOrThrow(unloadedToolchainContextKey.getValue(), ToolchainException.class);
if (valuesMissing != env.valuesMissing()) {
BugReport.sendBugReport(
new IllegalStateException(
"ToolchainContextValue "
+ unloadedToolchainContextKey.getValue()
+ " was missing, this should never happen"));
BugReport.logUnexpected(
"Value for: '%s' was missing, this should never happen",
unloadedToolchainContextKey.getValue());
break;
}
if (!valuesMissing) {
Expand Down

0 comments on commit 54f410c

Please sign in to comment.