Skip to content

Conversation

@kkthxbye-code
Copy link
Contributor

Fixes: #9466

Clear webhook queue on script failure. Before the script would still generate webhooks even when an exception was thrown in the script. Same fix is applied to the runscript management command. The management command further seemed to generate webhooks when commit was disabled.

@jeremystretch jeremystretch merged commit 56f3aaf into netbox-community:develop Jun 17, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Webhooks fire erroneously when custom scripts fail causing a transaction rolback

2 participants