Skip to content

Commit

Permalink
Merge pull request #22 from sendgrid/fatal-if-error
Browse files Browse the repository at this point in the history
Fatally exit if startup errors out #patch
  • Loading branch information
gladysmae08 authored Oct 25, 2019
2 parents 493e9a6 + 955091a commit b2552f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/aws-env/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,6 @@ func invoke(r *awsenv.Replacer, prog string, args []string) error {

func main() {
if err := app.Run(os.Args); err != nil {
log.WithError(err).Errorf("%s failed to start", app.Name)
log.WithError(err).Fatalf("%s failed to start", app.Name)
}
}

0 comments on commit b2552f2

Please sign in to comment.