aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-05 13:01:06 +0200
committerAlex Auvolat <alex@adnab.me>2020-04-05 13:01:06 +0200
commit19ab6edda27d18500f67da58d1c08f21bd500b69 (patch)
treef15b683dead98bde402a8ea462f7cf185ae9f129
parent054a6d4268533ab3866ab9be48c6f499c29a6d02 (diff)
downloadeasybridge-19ab6edda27d18500f67da58d1c08f21bd500b69.tar.gz
easybridge-19ab6edda27d18500f67da58d1c08f21bd500b69.zip
fix log.Fatal into log.Fatalf
-rw-r--r--util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.go b/util.go
index cd16a59..3b95b4c 100644
--- a/util.go
+++ b/util.go
@@ -99,7 +99,7 @@ func isBridgedIdentifier(mxid string) bool {
return strings.HasPrefix(mxid, nameformat_fixed_part)
} else {
// This is not supported
- log.Fatal("Invalid name format %s, please put {} at the beginning or at the end", config.NameFormat)
+ log.Fatalf("Invalid name format %s, please put {} at the beginning or at the end", config.NameFormat)
return false
}
}