Playing with exceptions in cherrypy