@@ -79,6 +79,9 @@ def test(self) -> None:
7979 result = subprocess.run(tmp_cmd, capture_output=True, text=True, encoding="utf-8")
8080 log_manager.info(f"MDNX API test result:\n{result.stdout}")
8181
82+ if result.stderr:
83+ log_manager.warning(f"MDNX API test result (stderr):\n{result.stderr}")
84+
8285 dict_result = self._process_console_output(result.stdout, add2queue=False)
8386 log_manager.info(f"Processed console output:\n{json.dumps(dict_result)}")
8487
@@ -110,6 +113,9 @@ def auth(self) -> str:
110113 result = subprocess.run(tmp_cmd, capture_output=True, text=True, encoding="utf-8")
111114 log_manager.info(f"Console output for auth process:\n{result.stdout}")
112115
116+ if result.stderr:
117+ log_manager.warning(f"Console output for auth process (stderr):\n{result.stderr}")
118+
113119 log_manager.info(f"Authentication with {self.mdnx_service} complete.")
114120 return result.stdout
115121
@@ -122,6 +128,9 @@ def start_monitor(self, series_id: str) -> str:
122128 result = subprocess.run(tmp_cmd, capture_output=True, text=True, encoding="utf-8")
123129 log_manager.debug(f"Console output for start_monitor process:\n{result.stdout}")
124130
131+ if result.stderr:
132+ log_manager.warning(f"Console output for start_monitor process (stderr):\n{result.stderr}")
133+
125134 self._process_console_output(result.stdout)
126135
127136 log_manager.debug(f"Monitoring for series with ID: {series_id} complete.")
@@ -143,6 +152,9 @@ def update_monitor(self, series_id: str) -> str:
143152 result = subprocess.run(tmp_cmd, capture_output=True, text=True, encoding="utf-8")
144153 log_manager.debug(f"Console output for update_monitor process:\n{result.stdout}")
145154
155+ if result.stderr:
156+ log_manager.warning(f"Console output for update_monitor process (stderr):\n{result.stderr}")
157+
146158 self._process_console_output(result.stdout)
147159
148160 log_manager.debug(f"Updating monitor for series with ID: {series_id} complete.")
0 commit comments