summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-30 17:27:11 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-30 23:45:30 -0700
commit18933a623450d42e5834cf31cee1f4cfa7f5bb7a (patch)
tree6a0bf4f4704b8ee462c2e649143e7652a766b039
parent81a3d98f8bf647ded6923eb77d3df791888e0a2a (diff)
downloadfatcat-18933a623450d42e5834cf31cee1f4cfa7f5bb7a.tar.gz
fatcat-18933a623450d42e5834cf31cee1f4cfa7f5bb7a.zip
editing: more 'raise' status instead of 'abort()'
-rw-r--r--python/fatcat_web/editing_routes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/editing_routes.py b/python/fatcat_web/editing_routes.py
index 9598a754..f3c6fdd0 100644
--- a/python/fatcat_web/editing_routes.py
+++ b/python/fatcat_web/editing_routes.py
@@ -151,7 +151,7 @@ def generic_entity_edit(editgroup_id, entity_type, existing_ident, edit_template
try:
editgroup = api.get_editgroup(editgroup_id)
except ApiException as ae:
- abort(ae.status)
+ raise ae
# check that editgroup is edit-able
if editgroup.changelog_index != None: