mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-01-31 06:26:14 +00:00
fix: [module extrsctor] log invalid object meta
This commit is contained in:
parent
02aa9a983b
commit
a509e28c8f
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ def get_extracted_by_match(extracted):
|
|||
matches[str_obj]['icon'] = ail_objects.get_object_svg(ob_type, subtype, obj_id)
|
||||
matches[str_obj]['link'] = ail_objects.get_object_link(ob_type, subtype, obj_id)
|
||||
except TypeError:
|
||||
logger.critical(f'module extractor invalid object: {ob_type} : {subtype} : {obj_id}')
|
||||
matches[str_obj]['icon'] = {'style': 'fas', 'icon': '\uf00d', 'color': 'red', 'radius': 5}
|
||||
matches[str_obj]['link'] = ''
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue