improved log message

* notify users that registering a phone number only works in
  normal/native mode.
This commit is contained in:
Bernhard B
2021-10-20 21:49:11 +02:00
parent 2991941343
commit d1190f8299

View File

@@ -43,7 +43,7 @@ func main() {
items, err := ioutil.ReadDir(signalCliConfigDataDir)
if err != nil {
log.Fatal("Couldn't read contents of ", signalCliConfigDataDir)
log.Fatal("Couldn't read contents of ", signalCliConfigDataDir, ". Is your phone number properly registered? Please be aware that registering a phone number only works in normal/native mode and is currently not supported in json-rpc mode!")
}
for _, item := range items {
if item.IsDir() {