-
Notifications
You must be signed in to change notification settings - Fork 982
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
Fixes #23145 - handle strong params for compute attributes on failure #5412
Conversation
Issues: #23145 |
See Redmine for description of the issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code makes sense, didn't test though.
I hope removing the rescue won't lead to other exceptions blowing up, but in any case swallowing them silently is a Bad Idea &tm; and we should handle them properly.
It depends on when the call is actually made, during the orchestration, the exception will be captured, as any other exception would be. When rendering, it's harder to capture, but that's an issue that is already in other places: just think about any other call that we don't rescue from (such as listing templates for select box or list of networks for NIC). Btw. next thing I would like to do is to remove |
Tests are 💚, this should be ready for merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @iNecas, merging
See Redmine for description of the issue.