> python-version:2.5.4
> web.py version:0.36
> uwsgi version:1.2
>
> uwsgi.xml:
> <uwsgi id='hello'>
> <http-socket>0.0.0.0:8888</http-socket>
> <pythonpath>/opt/webapp/web_center</pythonpath>
> <module>hello</module>
> <master>true</master>
> <workers>6</workers>
> <daemonize>/opt/webapp/web_center/hello.log</daemonize>
> <pidfile>/opt/webapp/web_center/hello.pid</pidfile>
> <max-requests>50</max-requests>
> <logdate>true</logdate>
> <buffer-size>65536</buffer-size>
> <reload-mercy>10</reload-mercy>
> <auto-snapshot>true</auto-snapshot>
> <reload-on-exception>true</reload-on-exception>
> </uwsgi>
>
> hello.py:
> import web
>
> urls = (
> '/', 'hello'
> )
> app = web.application(urls, globals())
>
> class hello:
> def GET(self):
> raise Exception('hello')
>
> web.config.debug = False
> application = app.wsgifunc()
>
> when request ,in log:
>
> Trac
Hi,
web.py catch the exception before uWSGI, so there is no way for
reload-on-exception to work. I do not know if it is possible to avoid such
behaviour from web.py
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi