We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you introduce an error in a lambda part of the actions > fields, it will return an non descriptive error
Steps to reproduce the behavior:
class Avo::Actions::MyAction < Avo::BaseAction self.name = "My Action" def fields field :my_field, as: :text, default: -> { this_variable_doesnt_exist_and_will_throw_an_error } end
The problem seems to be that he loads http://localhost:3000/avo/failed_to_load?turbo_frame=actions_show&.... which does not play well with turboframes
(in the server logs you do see the original error)
see an error like undefined local variable or method this_variable_doesnt_exist_and_will_throw_an_error' for #<Avo::Actions::`
undefined local variable or method
The text was updated successfully, but these errors were encountered:
This issue has been marked as stale because there was no activity for the past 15 days.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When you introduce an error in a lambda part of the actions > fields, it will return an non descriptive error
Steps to Reproduce
Steps to reproduce the behavior:
The problem seems to be that he loads http://localhost:3000/avo/failed_to_load?turbo_frame=actions_show&.... which does not play well with turboframes
(in the server logs you do see the original error)
Expected behavior & Actual behavior
see an error like
undefined local variable or method
this_variable_doesnt_exist_and_will_throw_an_error' for #<Avo::Actions::`Impact
Urgency
The text was updated successfully, but these errors were encountered: