Don't use error logging level for BuilderSkippedExceptions
This commit is contained in:
parent
ceaee1165b
commit
06e4ea33b5
1 changed files with 3 additions and 0 deletions
|
|
@ -135,6 +135,9 @@ class RedditBuilder(PostBuilder):
|
||||||
except BuilderDuplicateException:
|
except BuilderDuplicateException:
|
||||||
logger.warning("Skipping duplicate post")
|
logger.warning("Skipping duplicate post")
|
||||||
continue
|
continue
|
||||||
|
except BuilderSkippedException as e:
|
||||||
|
logger.warning(e.message)
|
||||||
|
continue
|
||||||
except BuilderException:
|
except BuilderException:
|
||||||
logger.exception("Failed building post")
|
logger.exception("Failed building post")
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue