summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mattermost.go b/mattermost.go
index 963978ecf..bdfa55d9a 100644
--- a/mattermost.go
+++ b/mattermost.go
@@ -71,7 +71,7 @@ var flagRunCmds bool
func doLoadConfig(filename string) (err string) {
defer func() {
if r := recover(); r != nil {
- err = fmt.Sprintf("Error loding config, err=%v", r)
+ err = fmt.Sprintf("%v", r)
}
}()
utils.LoadConfig(filename)
@@ -83,7 +83,7 @@ func main() {
parseCmds()
if errstr := doLoadConfig(flagConfigFile); errstr != "" {
- l4g.Exit("Unable to load mattermost configuration file:", errstr)
+ l4g.Exit("Unable to load mattermost configuration file: ", errstr)
return
}