Skip to content

Commit

Permalink
remove Panic
Browse files Browse the repository at this point in the history
  • Loading branch information
artpar committed Jan 31, 2024
1 parent f4b9712 commit 00d2fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func LogPrintf(level LogLevel, o interface{}, text string, args ...interface{})
case LogLevelCritical:
logrus.WithFields(fields).Error(out)
case LogLevelEmergency, LogLevelAlert:
logrus.WithFields(fields).Panic(out)
logrus.WithFields(fields).Error(out)
}
} else {
if o != nil {
Expand Down

0 comments on commit 00d2fab

Please sign in to comment.