From 09c80fe5b1e3443716c79841e67d54c8abba2d6f Mon Sep 17 00:00:00 2001 From: Mirko Zitkovich <73123551+MirkoZETA@users.noreply.github.com> Date: Sat, 8 Mar 2025 20:03:42 -0300 Subject: [PATCH] Potential fix for code scanning alert no. 4: Information exposure through an exception Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- backend.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend.py b/backend.py index 30b7322..b1c1b8d 100644 --- a/backend.py +++ b/backend.py @@ -157,7 +157,6 @@ def generate(): return jsonify({ "status": "error", "message": "An unexpected error occurred", - "error": str(e), "timestamp": time.time() }), 500