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

allow pre_save_hook to cancel save with HTTPError #456

Merged
merged 1 commit into from
Mar 24, 2021

Commits on Mar 24, 2021

  1. allow pre_save_hook to cancel save with HTTPError

    currently, all errors in pre_save_hook are ignored,
    making it impossible for pre_save_hook to be used for validation / quota enforcement / etc.
    
    By allowing HTTPErrors to raise, save will be cancelled and the error message will be shown to the user
    minrk committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    40f653d View commit details
    Browse the repository at this point in the history