lib/db: Undo adding user info to panic msgs (ref #7029) (#7040)

This commit is contained in:
Simon Frei
2020-10-19 08:40:37 +02:00
committed by GitHub
parent 23c935b05a
commit 01a7ef3b0f
2 changed files with 10 additions and 8 deletions
+2 -1
View File
@@ -531,5 +531,6 @@ func fatalError(err error, opStr string, db *Lowlevel) {
}
}
}
warnAndPanic(fmt.Errorf("%v: %w:", opStr, err))
l.Warnf("Fatal error: %v: %v", opStr, err)
obfuscateAndPanic(err)
}