Skip to content

Commit

Permalink
Merge pull request #61 from jjsilvalins/patch-1
Browse files Browse the repository at this point in the history
Incorrect error handle in backend
  • Loading branch information
nasbench authored Dec 19, 2024
2 parents 008f406 + 6e50b0f commit 28cc56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def convert():
result = result[0]
except SigmaError as e:
return Response(f"SigmaError: {str(e)}", status=400, mimetype="text/html")
except:
except Exception as e:
return Response(f"UnknownError: {str(e)}", status=400, mimetype="text/html")

return result
Expand Down

0 comments on commit 28cc56b

Please sign in to comment.