Skip to content

Commit

Permalink
Exit if any audit backend fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Utrilla committed Oct 4, 2018
1 parent 2c371ce commit cf9ffce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion audit/audit.go
Expand Up @@ -48,8 +48,9 @@ func init() {
if len(auditErrors) > 0 {
log.Errorf("connecting to audit database, defined in %s", configFile)
for _, err := range auditErrors {
log.Fatal(err)
log.Error(err)
}
log.Fatal("one or more audit backends reported errors, exiting")
}
}

Expand Down

0 comments on commit cf9ffce

Please sign in to comment.