cmd/stcrashreceiver, lib/db: Improve panic message handling (#7029)
This commit is contained in:
+1
-2
@@ -531,6 +531,5 @@ func fatalError(err error, opStr string, db *Lowlevel) {
|
||||
}
|
||||
}
|
||||
}
|
||||
l.Warnf("Fatal error: %v: %v", opStr, err)
|
||||
panic(err)
|
||||
warnAndPanic(fmt.Errorf("%v: %w:", opStr, err))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user