diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/error_handling_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/error_handling_service.py index 5d6346d7..b700e781 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/error_handling_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/error_handling_service.py @@ -4,7 +4,7 @@ import json from flask import g from flask import current_app from flask.wrappers import Response -from typing import Any +# from typing import Any from typing import List from typing import Union @@ -18,7 +18,7 @@ from spiffworkflow_backend.models.message_triggerable_process_model import ( from spiffworkflow_backend.models.process_instance import ProcessInstanceModel from spiffworkflow_backend.models.process_instance import ProcessInstanceModelSchema from spiffworkflow_backend.models.process_instance import ProcessInstanceStatus -from spiffworkflow_backend.services.email_service import EmailService +# from spiffworkflow_backend.services.email_service import EmailService from spiffworkflow_backend.services.message_service import MessageService from spiffworkflow_backend.services.process_instance_processor import ( ProcessInstanceProcessor, @@ -77,6 +77,7 @@ class ErrorHandlingService: error: Union[ApiError, Exception], recipients: List, ) -> Response: + """Handle_system_notification.""" message_payload = { 'my_var': 'my_value', 'error': error.__repr__(),