aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGabriel Jackson2017-01-29 12:13:57 -0800
committerKim "BKC" Carlbäcker2017-02-02 15:24:18 +0100
commitbf6f61cc690978bcad416ace8e8da2418602cbf3 (patch)
tree98be4a5abcd53063b41676772b8dd37a47621c44 /main.go
parent73d05a51e3dce4a5b31b8660a6141a14ae615404 (diff)
Cleanup log messaging
This change corrects a few logging issues: * Standardized formatting errors with '%v'. * Standardized failure warning word usage. * Corrected an instance of using the standard log library when the gitea log library should be used instead.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 514250111..d41fb4f6f 100644
--- a/main.go
+++ b/main.go
@@ -38,7 +38,7 @@ func main() {
app.Flags = append(app.Flags, []cli.Flag{}...)
err := app.Run(os.Args)
if err != nil {
- log.Fatal(4, "Fail to run app with %s: %v", os.Args, err)
+ log.Fatal(4, "Failed to run app with %s: %v", os.Args, err)
}
}