Skip to content

Commit

Permalink
Show the run mode that was attempted in the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kairichard committed Oct 18, 2019
1 parent cda137e commit 45b45b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/slang/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func run(operator *core.Operator, mode string, bind string) error {
case "httpPost":
runHttpPost(operator, bind)
default:
log.Fatal("Run mode not supported: %s")
log.Fatal("Run mode not supported: %s", mode)
}

// Handle SIGTERM (CTRL-C)
Expand Down

0 comments on commit 45b45b7

Please sign in to comment.