SAB error doesn't show anything. Add 1 more line

This commit is contained in:
Ruud committed 2012-10-26 23:50:59 +02:00
1 parent 7420785eaf
commit d1e798323c
1 file changed
+2 -2
+2 -2
View File
@@ -76,7 +76,7 @@ class Sabnzbd(Downloader):
'mode': 'queue', 'mode': 'queue',
}) })
except: except:
log.error('Failed getting queue: %s', traceback.format_exc(0)) log.error('Failed getting queue: %s', traceback.format_exc(1))
return False return False
# Go through history items # Go through history items
@@ -86,7 +86,7 @@ class Sabnzbd(Downloader):
'limit': 15, 'limit': 15,
}) })
except: except:
log.error('Failed getting history json: %s', traceback.format_exc(0)) log.error('Failed getting history json: %s', traceback.format_exc(1))
return False return False
statuses = [] statuses = []