mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
SABnzbd-Suite: print full traceback on error
This commit is contained in:
parent
ba695d3da3
commit
ac180a15e4
@ -30,6 +30,7 @@ import hashlib
|
|||||||
from configobj import ConfigObj
|
from configobj import ConfigObj
|
||||||
from xml.dom.minidom import parseString
|
from xml.dom.minidom import parseString
|
||||||
import logging
|
import logging
|
||||||
|
import traceback
|
||||||
|
|
||||||
logging.basicConfig(filename='/var/log/sabnzbd-suite.log',
|
logging.basicConfig(filename='/var/log/sabnzbd-suite.log',
|
||||||
filemode='w',
|
filemode='w',
|
||||||
@ -261,6 +262,7 @@ try:
|
|||||||
logging.debug('SABnzbd api key: ' + sabNzbdApiKey)
|
logging.debug('SABnzbd api key: ' + sabNzbdApiKey)
|
||||||
except Exception,e:
|
except Exception,e:
|
||||||
print 'SABnzbd: exception occurred:', e
|
print 'SABnzbd: exception occurred:', e
|
||||||
|
print traceback.format_exc()
|
||||||
# SABnzbd end
|
# SABnzbd end
|
||||||
|
|
||||||
# SickBeard start
|
# SickBeard start
|
||||||
@ -318,6 +320,7 @@ try:
|
|||||||
logging.debug('...done')
|
logging.debug('...done')
|
||||||
except Exception,e:
|
except Exception,e:
|
||||||
print 'SickBeard: exception occurred:', e
|
print 'SickBeard: exception occurred:', e
|
||||||
|
print traceback.format_exc()
|
||||||
# SickBeard end
|
# SickBeard end
|
||||||
|
|
||||||
# CouchPotato start
|
# CouchPotato start
|
||||||
@ -366,6 +369,7 @@ try:
|
|||||||
logging.debug('...done')
|
logging.debug('...done')
|
||||||
except Exception,e:
|
except Exception,e:
|
||||||
print 'CouchPotato: exception occurred:', e
|
print 'CouchPotato: exception occurred:', e
|
||||||
|
print traceback.format_exc()
|
||||||
# CouchPotato end
|
# CouchPotato end
|
||||||
|
|
||||||
# CouchPotatoServer start
|
# CouchPotatoServer start
|
||||||
@ -428,6 +432,7 @@ try:
|
|||||||
logging.debug('...done')
|
logging.debug('...done')
|
||||||
except Exception,e:
|
except Exception,e:
|
||||||
print 'CouchPotatoServer: exception occurred:', e
|
print 'CouchPotatoServer: exception occurred:', e
|
||||||
|
print traceback.format_exc()
|
||||||
# CouchPotatoServer end
|
# CouchPotatoServer end
|
||||||
|
|
||||||
# Headphones start
|
# Headphones start
|
||||||
@ -468,4 +473,5 @@ try:
|
|||||||
logging.debug('...done')
|
logging.debug('...done')
|
||||||
except Exception,e:
|
except Exception,e:
|
||||||
print 'Headphones: exception occurred:', e
|
print 'Headphones: exception occurred:', e
|
||||||
|
print traceback.format_exc()
|
||||||
# Headphones end
|
# Headphones end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user