Prevent the logging module from vomiting all over stderr on OSError
it is unreadable and not very useful.
This commit is contained in:
parent
31c605528c
commit
41e4c95636
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue