feat(app): update test event callbacks

This commit is contained in:
psychedelicious 2024-05-23 15:20:41 +10:00
parent db0ef8d316
commit 19227fe4e6

View File

@ -116,7 +116,7 @@ class ApiDependencies:
print("AFTER RUN NODE", invocation.id)
return True
def on_node_error(invocation, queue_item, exc_type, exc_value, exc_traceback):
def on_node_error(invocation, queue_item, error_type, error_message, error_traceback):
print("NODE ERROR", invocation.id)
return True
@ -124,8 +124,8 @@ class ApiDependencies:
print("AFTER RUN SESSION", queue_item.item_id)
return True
def on_non_fatal_processor_error(exc_type, exc_value, exc_traceback, queue_item=None):
print("NON FATAL PROCESSOR ERROR", exc_value)
def on_non_fatal_processor_error(queue_item, error_type, error_message, error_traceback):
print("NON FATAL PROCESSOR ERROR", error_message)
return True
session_processor = DefaultSessionProcessor(