more debug

This commit is contained in:
2025-02-07 21:38:48 -05:00
parent 3b1be5bbcc
commit 9b2a3064d4

1
app.py
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)}")