mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-02 01:39:29 +01:00
Better logging when Headphones can't parse the best nzb
This commit is contained in:
@@ -620,8 +620,8 @@ def preprocess(resultlist):
|
||||
|
||||
#TODO: Do we want rar checking in here to try to keep unknowns out?
|
||||
#or at least the option to do so?
|
||||
except ExpatError:
|
||||
logger.error('Unable to parse the best result NZB. Skipping.')
|
||||
except Exception, e:
|
||||
logger.error('Unable to parse the best result NZB. Error: ' + str(e) + '. (Make sure your username/password/API is correct for provider: ' + result[3])
|
||||
continue
|
||||
return nzb, result
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user