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

In quickstart template /error/document crashes if accessed directly #105

Closed
amol- opened this issue May 20, 2019 · 0 comments
Closed

In quickstart template /error/document crashes if accessed directly #105

amol- opened this issue May 20, 2019 · 0 comments
Labels
easy Tickets that are easy to tackle for anyone

Comments

@amol-
Copy link
Member

amol- commented May 20, 2019

See https://github.com/TurboGears/tg2devtools/blob/development/devtools/gearbox/quickstart/template/%2Bpackage%2B/controllers/error.py_tmpl#L36 looking for resp.status_int, but resp will be None when /error/document is accessed directly thus leading to a crash.

@amol- amol- added the easy Tickets that are easy to tackle for anyone label May 20, 2019
CastixGitHub added a commit to CastixGitHub/tg2devtools that referenced this issue May 22, 2019
amol- pushed a commit to TurboGears/tg2devtools that referenced this issue May 22, 2019
@amol- amol- closed this as completed May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Tickets that are easy to tackle for anyone
Projects
None yet
Development

No branches or pull requests

1 participant