summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/AntiVirus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/AntiVirus.py b/module/plugins/hooks/AntiVirus.py
index 69dffbe73..6823729af 100644
--- a/module/plugins/hooks/AntiVirus.py
+++ b/module/plugins/hooks/AntiVirus.py
@@ -85,8 +85,8 @@ class AntiVirus(Hook):
pyfile.setCustomStatus(_("file moving"))
shutil.move(file, self.getConfig('quardir'))
- except Exception:
- self.logWarning(_("Unable to move file to trash, moving to quarantine instead"))
+ except Exception, e:
+ self.logWarning(_("Unable to move file to trash: %s, moving to quarantine instead") % e.message)
pyfile.setCustomStatus(_("file moving"))
shutil.move(file, self.getConfig('quardir'))