fixed the 500 if
Dieser Commit ist enthalten in:
Ursprung
7c1a1d176d
Commit
3d350413cd
|
@ -11,7 +11,7 @@ from gunicorn.glogging import CONFIG_DEFAULTS
|
|||
from gunicorn.glogging import Logger as gLogger
|
||||
import traceback
|
||||
|
||||
__version__ = "0.0.6"
|
||||
__version__ = "0.0.7"
|
||||
|
||||
|
||||
CONFIG_DEFAULTS = {
|
||||
|
@ -82,7 +82,7 @@ class Logger(gLogger):
|
|||
level = self.access_log.info
|
||||
if resp.status_code >= 400:
|
||||
level = self.access_log.warning
|
||||
elif resp.status_code >= 500
|
||||
elif resp.status_code >= 500:
|
||||
level = self.access_log.error
|
||||
# wrap atoms:
|
||||
# - make sure atoms will be test case insensitively
|
||||
|
|
Laden…
In neuem Issue referenzieren