From 9593248d054d2aac0ecf3dfb003abc04e164d9a0 Mon Sep 17 00:00:00 2001
From: "danil.martynenko" <danil.martynenko@demlabs.net>
Date: Mon, 24 Feb 2025 16:50:25 +0300
Subject: [PATCH] [*] logs

---
 vpn/client/DapCmdHandlers/DapCmdConnect.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vpn/client/DapCmdHandlers/DapCmdConnect.cpp b/vpn/client/DapCmdHandlers/DapCmdConnect.cpp
index 35120d87..345c3c26 100644
--- a/vpn/client/DapCmdHandlers/DapCmdConnect.cpp
+++ b/vpn/client/DapCmdHandlers/DapCmdConnect.cpp
@@ -97,8 +97,9 @@ void DapCmdConnect::handle(const QJsonObject* params)
 
     QString runScriptPath = mandatoryConnParams[RUN_SCRIPT_PATH].toString();
 
-    if (!runScriptPath.isEmpty()){
+    if (!runScriptPath.isEmpty()) {
         bool runAfterConnect = mandatoryConnParams[RUN_SCRIPT_AFTER_CONNECT].toBool(true);
+        qDebug() << "Running script path:" << runScriptPath << "Run after connect:" << runAfterConnect;
         emit sigSetRunScript(runScriptPath, runAfterConnect);
     }
 
-- 
GitLab