1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-06-29 19:51:08 +02:00

Wrong use of ISBNDB API

This commit is contained in:
Yohann D'ANELLO
2020-10-03 15:47:22 +02:00
parent 263b4cff77
commit aa51a40cf6
2 changed files with 7 additions and 2 deletions

View File

@ -46,4 +46,4 @@ class Command(BaseCommand):
except Exception as e:
self.stderr.write(self.style.WARNING(
"An error occured while importing ISBN {isbn}: {error}"
.format(isbn=isbn, error=str(e))))
.format(isbn=isbn, error=str(e.__class__) + "(" + str(e) + ")")))