mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
python: Reformat with Black, except quotes.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
5028c081cb
commit
11741543da
@@ -40,8 +40,12 @@ except Exception:
|
||||
# debugging process for a Zulip 500 error to always be "check
|
||||
# /var/log/zulip/errors.log", we log to that file directly here.
|
||||
import logging
|
||||
logging.basicConfig(filename='/var/log/zulip/errors.log', level=logging.INFO,
|
||||
format='%(asctime)s %(levelname)s %(name)s %(message)s')
|
||||
|
||||
logging.basicConfig(
|
||||
filename='/var/log/zulip/errors.log',
|
||||
level=logging.INFO,
|
||||
format='%(asctime)s %(levelname)s %(name)s %(message)s',
|
||||
)
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.exception("get_wsgi_application() failed:")
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user