summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:52:24 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:52:24 +0200
commit23a78c13c0176cc9db27135bc3620170f514a95f (patch)
treeca827b97d282d20c3bd509a008a1fa1213c1f472 /module/ThreadManager.py
parentconfig parser fix, UploadedTo premium working (diff)
downloadpyload-23a78c13c0176cc9db27135bc3620170f514a95f.tar.xz
RapidshareCom premium
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index a48d7e729..5de1aca35 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -22,6 +22,7 @@ from threading import Event
from subprocess import Popen
from os.path import exists
from time import sleep
+from traceback import print_exc
from module.network.Request import getURL
import PluginThread
@@ -157,6 +158,8 @@ class ThreadManager:
job.initPlugin()
except Exception, e:
self.log.critical(str(e))
+ if self.core.debug:
+ print_exc()
if job.plugin.__type__ == "hoster":
if free:
@@ -174,4 +177,4 @@ class ThreadManager:
- \ No newline at end of file
+