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

Shrug ie 404 template seems broken #8

Open
jaywink opened this issue Aug 26, 2021 · 0 comments
Open

Shrug ie 404 template seems broken #8

jaywink opened this issue Aug 26, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jaywink
Copy link
Member

jaywink commented Aug 26, 2021

Template render error: (/app/views/shrug.html) [Line 5, Column 12]
  attempted to output null or undefined value
    at Object._prettifyError (/app/node_modules/nunjucks/src/lib.js:36:11)
    at /app/node_modules/nunjucks/src/environment.js:563:19
    at Template.root [as rootRenderFunc] (eval at _compile (/app/node_modules/nunjucks/src/environment.js:633:18), <anonymous>:19:3)
    at Template.render (/app/node_modules/nunjucks/src/environment.js:552:10)
    at /app/node_modules/nunjucks/src/environment.js:366:27
    at createTemplate (/app/node_modules/nunjucks/src/environment.js:315:9)
    at handle (/app/node_modules/nunjucks/src/environment.js:327:11)
    at /app/node_modules/nunjucks/src/environment.js:339:9
    at next (/app/node_modules/nunjucks/src/lib.js:328:7)
    at Object.asyncIter (/app/node_modules/nunjucks/src/lib.js:334:3)

Also should probably have a generic "oops things failed" handler to avoid stacktraces to users.

@jaywink jaywink added the bug Something isn't working label Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant