diff options
Diffstat (limited to 'raphodo/storage.py')
-rw-r--r-- | raphodo/storage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/raphodo/storage.py b/raphodo/storage.py index f4ef551..786b5d8 100644 --- a/raphodo/storage.py +++ b/raphodo/storage.py @@ -1008,10 +1008,10 @@ class UDisks2Monitor(QObject): logging.debug("UDisks: attempting to mount %s", path) mount_point = self.retry_mount(fs, fstype) if not mount_point: - raise + raise Exception else: logging.debug("UDisks: successfully mounted at %s", mount_point) - except: + except Exception: logging.error('UDisks: could not mount the device: %s', path) return else: |