From 41e4c95636a204572dfdefce65ee1ff5e07eac30 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 19 Sep 2019 23:14:55 +0200 Subject: Prevent the logging module from vomiting all over stderr on OSError it is unreadable and not very useful. --- poezio/poezio.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'poezio') diff --git a/poezio/poezio.py b/poezio/poezio.py index 82403fdb..e38871c6 100644 --- a/poezio/poezio.py +++ b/poezio/poezio.py @@ -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: -- cgit v1.2.3