1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-16 06:15:09 -05:00

Do not log ERROR when show isn't in list. Log WARNING instead.

Prevents the error log in webinterface from filling up, if there are downloads in your watch folder, which aren't in SB list
This commit is contained in:
dhellwich 2014-08-30 16:17:09 +02:00
parent ee458bd211
commit b2941d6bc0

View File

@ -793,7 +793,7 @@ class PostProcessor(object):
(show, season, episodes, quality, version) = self._find_info() (show, season, episodes, quality, version) = self._find_info()
if not show: if not show:
self._log(u"This show isn't in your list, you need to add it to SB before post-processing an episode", self._log(u"This show isn't in your list, you need to add it to SB before post-processing an episode",
logger.ERROR) logger.WARNING)
raise exceptions.PostProcessingFailed() raise exceptions.PostProcessingFailed()
elif season == None or not episodes: elif season == None or not episodes:
self._log(u"Not enough information to determine what episode this is", logger.DEBUG) self._log(u"Not enough information to determine what episode this is", logger.DEBUG)