Introduced error management to prevent crashes and added prints for error reporting during runtime

This commit is contained in:
Lyncoln
2026-10-23 22:10:51 -04:00
parent 90ec6fcd22
commit 83bfbd63de
3 changed files with 120 additions and 41 deletions
+6 -2
View File
@@ -31,8 +31,12 @@ def buildSelect(action, outputs):
#print(outputs[f"{action.alias}_select"])
return select_data, action, outputs
except (KeyError, TypeError):
print("Error in selection")
except KeyError as error:
print(f"Error in selection of {error} during {action.name}")
except TypeError as error:
print(f"TypeError during select: {error} during {action.name}")
#select_data = ["no selection"]
return select_data, action, outputs