This commit is contained in:
mike cullerton 2023-01-11 17:46:39 -05:00
parent e231425f20
commit 1d6bbd9f1e
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class ErrorHandlingService:
def handle_system_notification(
error: Union[ApiError, Exception],
recipients: List,
):
) -> Response:
message_payload = {
'my_var': 'my_value',
'error': error.__repr__(),

View File

@ -2160,7 +2160,7 @@ class TestProcessApi(BaseTest):
assert process is not None
assert process.status == "suspended"
def test_error_handler_system_notification(self):
def test_error_handler_system_notification(self) -> None:
"""Test_error_handler_system_notification."""
# TODO: make sure the system notification process is run on exceptions
...