Skip to content

Commit

Permalink
Friendlier Startup Error Messages (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxNode authored Jun 23, 2021
1 parent 4b8c1bd commit 9489942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ func main() {

cfg, err := loadConfig()
if err != nil {
glog.Fatalf("Configuration could not be loaded or did not pass validation: %v", err)
glog.Exitf("Configuration could not be loaded or did not pass validation: %v", err)
}

err = serve(Rev, cfg)
if err != nil {
glog.Errorf("prebid-server failed: %v", err)
glog.Exitf("prebid-server failed: %v", err)
}
}

Expand Down

0 comments on commit 9489942

Please sign in to comment.