summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-09-19 23:14:55 +0200
committermathieui <mathieui@mathieui.net>2019-09-19 23:14:55 +0200
commit41e4c95636a204572dfdefce65ee1ff5e07eac30 (patch)
treeacaf03ee5635c15f9f7653fca06f827d43a0c977 /poezio
parent31c605528c0ad8b22d617073fb2e1722b82fabb2 (diff)
downloadpoezio-41e4c95636a204572dfdefce65ee1ff5e07eac30.tar.gz
poezio-41e4c95636a204572dfdefce65ee1ff5e07eac30.tar.bz2
poezio-41e4c95636a204572dfdefce65ee1ff5e07eac30.tar.xz
poezio-41e4c95636a204572dfdefce65ee1ff5e07eac30.zip
Prevent the logging module from vomiting all over stderr on OSError
it is unreadable and not very useful.
Diffstat (limited to 'poezio')
-rw-r--r--poezio/poezio.py3
1 files changed, 3 insertions, 0 deletions
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: