Browse Source

fix log.Fatal into log.Fatalf

master
Alex 10 months ago
parent
commit
19ab6edda2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      util.go

+ 1
- 1
util.go View File

@ -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
}
}

Loading…
Cancel
Save