Skip to content

Commit

Permalink
reraise exception
Browse files Browse the repository at this point in the history
  • Loading branch information
peshence authored and jameshawkes committed Sep 18, 2024
1 parent 2d43fed commit c5368e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions polytope_server/common/datasource/polytope.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def retrieve(self, request):
self.output = json.dumps(self.output).encode("utf-8")
except PolytopeError as e:
self.output = json.dumps({"error": str(e)}).encode("utf-8")
raise e
# logging.info(self.output)
return True

Expand Down

0 comments on commit c5368e1

Please sign in to comment.