Skip to content

Commit f816354

Browse files
committed
fix typo
1 parent e26663f commit f816354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/labthings/views/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def dispatch_request(self, *args, **kwargs):
239239
# TODO: do we want to do this for all exceptions, or just
240240
# werkzeug.exceptions.HTTPException instances?
241241
if task._exception is not None:
242-
raise e
242+
raise task._exception
243243

244244
return self.represent_response((ActionSchema().dump(task), 201))
245245

0 commit comments

Comments
 (0)