mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-02-24 03:06:07 -05:00
fix: update health check response and schema to handle nullable memory and storage usage
This commit is contained in:
@@ -1955,7 +1955,7 @@ def check_health(payload=None):
|
||||
return jsonify({
|
||||
"success": False,
|
||||
"error": "Failed to retrieve health status",
|
||||
"message": str(e)
|
||||
"message": "Internal server error"
|
||||
}), 500
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user