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

Default exception view to render standard_error_message #238

Closed
icemac opened this issue Jan 17, 2018 · 1 comment

Comments

@icemac
Copy link
Member

commented Jan 17, 2018

Legacy applications written for Zope 2 may use a customised standard_error_message to render a the error message. To ease the migration to Zope 4 and to keep supporting TTW code it would be nice to have an exception view in the Zope code which renders standard_error_message if it exists.

I blogged about a hackish solution: https://blog.gocept.com/2017/10/24/zope4-errorhandling/#back_to_standard_error_message maybe it could be a foundation for a proper solution.

@icemac icemac added the question label Jan 17, 2018

@icemac icemac added this to To do in Zope 4 final release Jul 12, 2018

@icemac icemac added this to the 4.0 final milestone Oct 30, 2018

@dataflake

This comment has been minimized.

Copy link
Member

commented Feb 9, 2019

That doesn't look too hackish. I'll put it on my list. When #473 is merged it will be "safe" again to register a blanket catch-all error view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
2 participants
You can’t perform that action at this time.