diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-05-04 00:33:47 +0200 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-05-04 00:33:47 +0200 |
commit | c6932a1ea6e44867e2b2caedfad444d4b34aea4f (patch) | |
tree | ca1276c0add09c9b5c4b953f78fedee61d8d1048 | |
parent | [ExtractArchive] report missing send2trash (diff) | |
download | pyload-c6932a1ea6e44867e2b2caedfad444d4b34aea4f.tar.xz |
more verbose
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index 609d0ad62..d0a84364a 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -475,8 +475,8 @@ class ExtractArchive(Hook): except NameError: self.logWarning(_("Unable to move %s to trash: Send2Trash lib not found") % os.path.basename(f)) - except Exception: - self.logWarning(_("Unable to move %s to trash") % os.path.basename(f)) + except Exception, e: + self.logWarning(_("Unable to move %s to trash: %s") % (os.path.basename(f), e.message)) self.logInfo(name, _("Extracting finished")) extracted_files = archive.files or archive.list() |