Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Merge branch 'web2py:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
KellerKev authored Sep 6, 2021
2 parents 61f336c + b0e67ce commit 353eaee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py4web/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def __mount_local__(cls, self, storage):
def _safe_local(self):
try:
ret = self.__request_master_ctx__.request_ctx[self]
except KeyError as err:
except (KeyError, AttributeError) as err:
msg = 'py4web hint: check @action.uses() for the missing fixture {}'.format(self)
raise RuntimeError(msg) from err
return ret
Expand Down

0 comments on commit 353eaee

Please sign in to comment.