Closed GiantCrocodile closed 8 years ago
Yes, this probably caused by the change on standard IO exceptions since python 3.3 Will fix this asap.
Now there is no exception thrown, if the file doesn't exist. Is this expected? I doubt it.
@GiantCrocodile Are you sure? You should have an empty response with status 404
Yes, the page is loading but without the image (I only see alt-tag) and I see this in console:
[127.0.0.1 on /static/img/portrait.jpg] dispatched in 0.005000591278076172 second(s)
Edit: I see in network analyse tab of FireFox that the resource has status 404. Maybe we should print it in console too? In console it looks like it is successful dispatched which is not true.
@GiantCrocodile will probably enhance the response to have a body stating the error.
When I try to include a non-existing file from static directory via
{{=url('static', 'img/portrait.jpg')}}
I get this exception:
I think this is a bug because one exception triggers another one.