summaryrefslogtreecommitdiffstats
path: root/pyload/threads/DecrypterThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/threads/DecrypterThread.py')
-rw-r--r--pyload/threads/DecrypterThread.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyload/threads/DecrypterThread.py b/pyload/threads/DecrypterThread.py
index 9b26e468d..ad70ca6ba 100644
--- a/pyload/threads/DecrypterThread.py
+++ b/pyload/threads/DecrypterThread.py
@@ -5,7 +5,7 @@ from time import sleep
from pyload.Api import LinkStatus, DownloadStatus as DS, ProgressInfo, ProgressType
from pyload.utils import uniqify, accumulate
-from pyload.plugins.Base import Abort, Retry
+from pyload.plugins.Base import Abort, Retry, Fail
from pyload.plugins.Crypter import Package
from BaseThread import BaseThread
@@ -96,7 +96,8 @@ class DecrypterThread(BaseThread):
if err:
plugin_result.extend(LinkStatus(url, url, -1, DS.Failed, name) for url in urls)
- if self.core.debug:
+ # no debug for intentional errors
+ if self.core.debug and not isinstance(e, Fail):
self.core.print_exc()
self.writeDebugReport(plugin.__name__, plugin=plugin)
finally: