Skip to content

Commit

Permalink
fix information exposure
Browse files Browse the repository at this point in the history
  • Loading branch information
niklastheman committed Sep 4, 2024
1 parent f4c22f5 commit a5b0b5c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fedn/network/api/v1/combiner_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,5 @@ def delete_combiner(id: str):
return jsonify({"message": msg}), 200
except EntityNotFound:
return jsonify({"message": f"Entity with id: {id} not found"}), 404
except Exception as e:
# return jsonify({"message": "An unexpected error occurred"}), 500
return jsonify({"message": e}), 500
except Exception:
return jsonify({"message": "An unexpected error occurred"}), 500

0 comments on commit a5b0b5c

Please sign in to comment.