Turning panic back on to get log output from CI tests

This commit is contained in:
Jason Fulghum
2023-10-11 15:19:51 -07:00
parent 535842d8d4
commit 3335a3ffa1

View File

@@ -509,8 +509,8 @@ func (wr *journalWriter) Close() (err error) {
if wr.journal == nil {
logrus.Warnf("journal writer has already been closed (%s)", wr.path)
logrus.Errorf("Stack: %s", string(debug.Stack()))
//panic("journalWriter::Close(): This shouldn't happen!")
//logrus.Errorf("Stack: %s", string(debug.Stack()))
panic("journalWriter::Close(): This shouldn't happen!")
return nil
} else {
logrus.Errorf("closing journal writer (%s)", wr.path)