Page MenuHomePhabricator

isbn.py stops the bot
Closed, DuplicatePublic

Description

I use cosmetic_changes.py with my bots. for some articles isbn.py stops the bot by this error

  File "/data/project/rezabot/pycore/scripts/isbn.py", line 1344, in getIsbn
    % (e13, e10))
scripts.isbn.InvalidIsbnException: ISBN-13: The ISBN 90 is not 13 digits long. / ISBN-10: The ISBN 90 is not 10 digits long.
<class 'scripts.isbn.InvalidIsbnException'>
CRITICAL: Closing network session.

it shouldn't stop the bot and it should pass the error by try.