fix log.Fatal into log.Fatalf
This commit is contained in:
parent
054a6d4268
commit
19ab6edda2
1 changed files with 1 additions and 1 deletions
2
util.go
2
util.go
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue