We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a219e51 + 216837e commit 4db2f00Copy full SHA for 4db2f00
1 file changed
app/app.py
@@ -138,8 +138,9 @@ def input_url():
138
139
case _:
140
# Catch all to return 500 error for any unexpected cases
141
- abort(HTTPStatus.INTERNAL_SERVER_ERROR)
142
- return None
+ return internal_server_error(HTTPStatus.INTERNAL_SERVER_ERROR)
+
143
144
145
146
@application.route("/<arg>/stats")
0 commit comments