1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Make failed torrent log message more verbose

This commit is contained in:
Adam 2014-10-13 23:10:19 +08:00
parent d2077453b6
commit 16a54e62d6

View File

@ -198,7 +198,7 @@ class GenericClient(object):
logger.log(self.name + u': Unable to set priority for Torrent', logger.ERROR) logger.log(self.name + u': Unable to set priority for Torrent', logger.ERROR)
except Exception, e: except Exception, e:
logger.log(self.name + u': Failed Sending Torrent ', logger.ERROR) logger.log(self.name + u': Failed Sending Torrent: ' + result.name + ' - ' + result.hash, logger.ERROR)
logger.log(self.name + u': Exception raised when sending torrent: ' + ex(e), logger.DEBUG) logger.log(self.name + u': Exception raised when sending torrent: ' + ex(e), logger.DEBUG)
return r_code return r_code