Skip to content

Commit

Permalink
Merge branch 'feature/ip_identifier' of github.com:redBorder/rb-aiout…
Browse files Browse the repository at this point in the history
…liers into feature/ip_identifier
  • Loading branch information
malvads committed Nov 14, 2024
2 parents f521d12 + a201e25 commit cd864ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/src/server/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ def identify_ip(self):
return jsonify(result), 200

except Exception as e:
return jsonify({"error": str(e)}), 500
logger.logger.error(f"Exception in identify_ip: {e}")
return jsonify({"error": "An internal error has occurred!"}), 500


def decode_b64_json(self, b64_json):
Expand Down

0 comments on commit cd864ff

Please sign in to comment.