Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Genki Sugawara committed Mar 30, 2017
1 parent daa16c7 commit df212de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
file, err := os.OpenFile(config.Server.Log, os.O_WRONLY|os.O_CREATE|os.O_APPEND, os.ModePerm)

if err != nil {
log.Fatal(err)
log.Fatalf("Open log file failed: %s", err)
}

defer file.Close()
Expand Down

0 comments on commit df212de

Please sign in to comment.