ADD Some debugging
1 files changed, 2 insertions(+), 1 deletions(-) M feed2maildir/loader.py
M feed2maildir/loader.py +2 -1
@@ 10,8 10,9 @@ class Loader: try: with open(os.path.expanduser(config), 'r') as f: self.config = json.loads(f.read()) - except: # Use default config + except Exception as exn: # Use default config self.output('WARNING: could not open config "{}"'.format(config)) + self.output('ERROR: Exception: {}'.format(exn)) self.config = {'feeds': {}, 'db': None, 'maildir': None} def output(self, arg):