From 18933a623450d42e5834cf31cee1f4cfa7f5bb7a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 30 Jul 2020 17:27:11 -0700 Subject: editing: more 'raise' status instead of 'abort()' --- python/fatcat_web/editing_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/fatcat_web/editing_routes.py') 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: -- cgit v1.2.3