mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
a64d712f7a
commit
21f0adc346
@ -2,6 +2,13 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
19.x / not released
|
||||
===================
|
||||
|
||||
- fix: prevent raising :exc:`AttributeError` when ``--reload`` is not passed
|
||||
in case of a :exc:`SyntaxError` raised from the WSGI application.
|
||||
(:issue:`1805`, :pr:`1806`)
|
||||
|
||||
19.8.1 / 2018/04/30
|
||||
===================
|
||||
|
||||
|
||||
@ -137,7 +137,7 @@ class Worker(object):
|
||||
try:
|
||||
self.wsgi = self.app.wsgi()
|
||||
except SyntaxError as e:
|
||||
if self.cfg.reload == 'off':
|
||||
if not self.cfg.reload:
|
||||
raise
|
||||
|
||||
self.log.exception(e)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user