Fix missing initialization of the err variable
This commit is contained in:
parent
310fc2ff4e
commit
a714c0d4cd
|
@ -1059,6 +1059,7 @@ BaseTraceEvent::State BaseTraceEvent::init() {
|
|||
BaseTraceEvent& BaseTraceEvent::errorUnsuppressed(class Error const& error) {
|
||||
if (enabled) {
|
||||
ASSERT(!logged);
|
||||
err = error;
|
||||
if (initialized) {
|
||||
if (error.isInjectedFault()) {
|
||||
detail("ErrorIsInjectedFault", true);
|
||||
|
|
Loading…
Reference in New Issue