mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-28 12:03:06 +00:00
core: return error response when wrong passphrase is passed to start
This commit is contained in:
1 parent
bbe329072e
commit
ea319313f1
6 files changed
+34
-27
No files matched your search
@@ -1648,7 +1648,7 @@ viewChatError logLevel = \case
|
||||
DBErrorEncrypted -> ["error: chat database is already encrypted"]
|
||||
DBErrorPlaintext -> ["error: chat database is not encrypted"]
|
||||
DBErrorExport e -> ["error encrypting database: " <> sqliteError' e]
|
||||
DBErrorOpen e -> ["error opening database after encryption: " <> sqliteError' e]
|
||||
DBErrorOpen e -> ["error opening database: " <> sqliteError' e]
|
||||
e -> ["chat database error: " <> sShow e]
|
||||
ChatErrorAgent err entity_ -> case err of
|
||||
CMD PROHIBITED -> [withConnEntity <> "error: command is prohibited"]
|
||||
|
||||
Reference in new issue
Block a user