Log failure reason when skipping scryfall cards
This commit is contained in:
parent
1d9723fb1f
commit
fc7671efd1
1 changed files with 2 additions and 2 deletions
|
@ -249,8 +249,8 @@ def update_scryfall(ctx, filename):
|
|||
)
|
||||
await tutor.database.store_card(cursor, card)
|
||||
await tutor.database.store_price(cursor, today, card)
|
||||
except:
|
||||
print(f"Skipping entry {card_json}")
|
||||
except Exception as e:
|
||||
print(f"Skipping entry {card_json}: {e}")
|
||||
bar.update(read)
|
||||
print("Updating oracle card data & indexes")
|
||||
await cursor.execute(
|
||||
|
|
Loading…
Reference in a new issue