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

Show proper binding when raising an error in a template #115

Merged
merged 1 commit into from
Mar 10, 2015

Conversation

gsamokovarov
Copy link
Collaborator

Show proper binding when raising an error in a template
We try to follow original exception's with ActionDispatch::ExceptionWrapper.
However, errors like ActionView::Template::Error bypass ExceptionWrapper's
following as they are handled specially in ActionDispatch::DebugExceptions.

Thanks to David for helping catching this out.

@gsamokovarov gsamokovarov force-pushed the follow-original-exception branch 6 times, most recently from 7bf8788 to 261265c Compare March 10, 2015 20:47
We try to follow original exception's with `ActionDispatch::ExceptionWrapper`.
However, errors like `ActionView::Template::Error` bypass ExceptionWrapper's
following as they are handled specially in ActionDispatch::DebugExceptions.

Thanks to David for helping catching this out.
gsamokovarov added a commit that referenced this pull request Mar 10, 2015
Show proper binding when raising an error in a template
@gsamokovarov gsamokovarov merged commit a613d6b into rails:master Mar 10, 2015
@gsamokovarov
Copy link
Collaborator Author

@dhh, I think this will fix the template problem for you.

@gsamokovarov gsamokovarov deleted the follow-original-exception branch March 10, 2015 21:35
gsamokovarov added a commit to gsamokovarov/web-console that referenced this pull request Mar 11, 2015
I think the recent fixes are worth of a patch release.

* [#115]: Show proper binding when raising an error in a template ([@gsamokovarov])
* [#114]: Fix templates non rendering, because of missing template suffix ([@gsamokovarov])

[#115]: rails#115
[#114]: rails#114
gsamokovarov added a commit to gsamokovarov/web-console that referenced this pull request Mar 11, 2015
I think the recent fixes are worth of a patch release. Here are the
fixes:

* [#115]: Show proper binding when raising an error in a template
* [#114]: Fix templates non rendering, because of missing template suffix

[#115]: rails#115
[#114]: rails#114
gsamokovarov added a commit to gsamokovarov/web-console that referenced this pull request Mar 12, 2015
I think the recent fixes are worth of a patch release. Here are the
fixes:

* [#115]: Show proper binding when raising an error in a template
* [#114]: Fix templates non rendering, because of missing template suffix

[#115]: rails#115
[#114]: rails#114
patrickm68 added a commit to patrickm68/web-console that referenced this pull request Dec 1, 2022
I think the recent fixes are worth of a patch release. Here are the
fixes:

* [#115]: Show proper binding when raising an error in a template
* [#114]: Fix templates non rendering, because of missing template suffix

[#115]: rails/web-console#115
[#114]: rails/web-console#114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant