more debug

This commit is contained in:
2025-02-07 21:38:48 -05:00
parent d4a28b37fb
commit 0b068c824b
+1
View File
@@ -165,6 +165,7 @@ def get_diagnostics():
if device.get('device_id'):
logger.debug(f"Fetching diagnostics for device: {device['name']}")
diagnostics[device['name']] = run_diagnostics(device)
logger.debug(f"Returning diagnostics: {diagnostics}")
return jsonify(diagnostics)
except Exception as e:
logger.error(f"Error in diagnostics endpoint: {str(e)}")