more debug
This commit is contained in:
1
app.py
1
app.py
@ -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)}")
|
||||
|
||||
Reference in New Issue
Block a user