diff options
Diffstat (limited to 'poezio/config.py')
-rw-r--r-- | poezio/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/config.py b/poezio/config.py index 6fe4fa59..fdcc5cc5 100644 --- a/poezio/config.py +++ b/poezio/config.py @@ -360,7 +360,7 @@ class Config(RawConfigParser): try: with open(self.file_name, 'r', encoding='utf-8') as df: lines_before = [line.strip() for line in df] - except: + except OSError: log.error('Unable to read the config file %s', self.file_name, exc_info=True) |