'gNeandr' via bottlepy
2017-02-28 20:14:27 UTC
With a good working bottle project I try to add an error handler, at best
it should catch all errors and direct to a special page with details what
fails in the module in question.
But also with the very simple example found on https://bottlepy.org/docs/dev/tutorial.html
this:
http://server:port/xx
What has to be checked / changed?
And is there a method to catch all python errors with one routine?
Can someone direct me to right tutorial or so ...
--
it should catch all errors and direct to a special page with details what
fails in the module in question.
But also with the very simple example found on https://bottlepy.org/docs/dev/tutorial.html
return 'Nothing here, sorry'
I have no success!
from bottle import route, response, error
I'm expecting that function is called when a unknown page is opened likeI have no success!
from bottle import route, response, error
this:
http://server:port/xx
192.168.178.26 - - [28/Feb/2017 20:42:20] "GET /xx HTTP/1.1" 404 729
But also syntax error resulting with html error 500 can't be catched.What has to be checked / changed?
And is there a method to catch all python errors with one routine?
Can someone direct me to right tutorial or so ...
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.