From 12901070d0f000efa32bb220793542bf3b9868ff Mon Sep 17 00:00:00 2001 From: hiveben Date: Fri, 6 Dec 2024 11:16:08 +0100 Subject: [PATCH] Merge Consumer & Filler --- funcs.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/funcs.py b/funcs.py index 4a64b37..295897c 100644 --- a/funcs.py +++ b/funcs.py @@ -1801,8 +1801,13 @@ def insert_atomic_asset(session, action): log_error('{}: {}'.format('new_asset', new_asset)) log_error('{}: {}'.format('asset', asset)) - - asset_id = asset['asset_id'] + + try: + asset_id = asset['asset_id'] + except Exception as err: + log_error('asset_id: {}'.format(err)) + log_exception(err) + raise err new_asset['contract'] = 'atomicassets' new_asset['template_id'] = asset['template_id'] if 'template_id' in asset.keys() else None new_asset['burnable'] = True