Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Bugfix) Swap out reference to legacy error attr for 4xx #130

Merged
merged 1 commit into from
Jan 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion worf/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def check_permissions(self):
if settings.WORF_DEBUG:
raise PermissionsError(
f"Permission check {perm.__module__}.{perm.__name__} raised {e.__class__.__name__}. "
f"You'd normally see a {e.status} here but WORF_DEBUG=True."
f"You'd normally see a 4xx here but WORF_DEBUG=True."
) from e
raise e

Expand Down