Closed gdude2002 closed 7 years ago
docs are old and outdated
also you have to explicitly name your kwarg exc
in an exception handler because i am lazy and didnt figure out a nice way to handle it /shrug
will fix uh soon?
The error explicitly says exception_to_handle
, as do the docs, so that isn't something I would have thought of.
docs are old and outdated
i should rewrite them for 2.0
also the exception is misleading, I WILL FIX THIS TOO
If the docs are old, where'd the template renderer go? xD
Oh jesus, I have to use asphalt.
Well, okay, I'll give that a shot. Thanks.
In setting up with Asphalt, it appears that for whatever reason the app can't be resolved, despite definitely existing there within a valid python package.
Unless you changed the config.yml
directives and I'm not supposed to be using app
.
It actually states that it can't resolve application
.
Using the following code, I get a 500 on the root route (
/
):I then attempted to add an error handler as shown in the documentation:
This results in the following exception:
I can also see here that
render_template
doesn't exist onapp
, which in itself seems a bit weird given what the documentation says.