Prevent the logging module from vomiting all over stderr on OSError

it is unreadable and not very useful.
This commit is contained in:
mathieui 2019-09-19 23:14:55 +02:00
parent 31c605528c
commit 41e4c95636
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -85,6 +85,9 @@ def main():
config.setup_logging()
config.post_logging_setup()
import logging
logging.raiseExceptions = False
from poezio.config import options
if options.check_config: