Add exception to message

This commit is contained in:
tooomm 2026-01-10 19:42:07 +01:00 committed by GitHub
parent 4cef743e46
commit 1a10272a82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -250,8 +250,8 @@ def scryfall2mtgjson(scryfall_cards: List[Dict[str, Any]]) -> List[Dict[str, Any
"subTypes": sub_types,
}
trice_cards.append(trice_card)
except Exception:
print(f"Unable to parse {sf_card.get('name')}")
except Exception as e:
print(f"Unable to parse {sf_card.get('name')}, error: {str(e)}")
return trice_cards