Skip to content

Commit

Permalink
logcrash: log Error, not Warning
Browse files Browse the repository at this point in the history
Noticed in cockroachdb#102248.

Epic: none
Release note: None
  • Loading branch information
tbg committed Jul 5, 2023
1 parent 13631fe commit 8e13cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/log/logcrash/crash_reporting.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ func ReportOrPanic(
if !build.IsRelease() || (sv != nil && PanicOnAssertions.Get(sv)) {
panic(err)
}
log.Warningf(ctx, "%v", err)
log.Errorf(ctx, "%v", err)
sendCrashReport(ctx, sv, err, ReportTypeError)
}

Expand Down

0 comments on commit 8e13cc0

Please sign in to comment.