From e56f801692195f9fc12d5bec69d72f97036a639d Mon Sep 17 00:00:00 2001 From: "danil.martynenko" <danil.martynenko@demlabs.net> Date: Mon, 23 Dec 2024 16:28:57 +0300 Subject: [PATCH] [*] non-critical reset error --- vpn/qml/handlers/DapCmdResetSerialKey.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vpn/qml/handlers/DapCmdResetSerialKey.cpp b/vpn/qml/handlers/DapCmdResetSerialKey.cpp index fe1d3fd2a..c57a6a597 100644 --- a/vpn/qml/handlers/DapCmdResetSerialKey.cpp +++ b/vpn/qml/handlers/DapCmdResetSerialKey.cpp @@ -27,6 +27,8 @@ void DapCmdResetSerialKey::handleError(int code, const QString& message) switch (code) { case 1: + // Code 1 indicates a non-critical reset error that allows clearing the local key storage. + // In this case, the user will not lose the key if it is still valid. emit sigResetSerialKeyError(message); break; case 2: -- GitLab