fix log.Fatal into log.Fatalf

This commit is contained in:
Alex 2020-04-05 13:01:06 +02:00
parent 054a6d4268
commit 19ab6edda2
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ func isBridgedIdentifier(mxid string) bool {
return strings.HasPrefix(mxid, nameformat_fixed_part) return strings.HasPrefix(mxid, nameformat_fixed_part)
} else { } else {
// This is not supported // 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 return false
} }
} }