From bf48f91a2fdd19ff363a65911220fc4a32f4bf1e Mon Sep 17 00:00:00 2001 From: burnettk Date: Thu, 27 Oct 2022 22:03:51 -0400 Subject: [PATCH] Squashed 'flask-bpmn/' changes from a901d7ffb..cedc5253a cedc5253a Merge pull request #8 from sartography/feature/clean_up_sentry_errors 3f3730226 removed exra comment signs w/ burnettk e070503f7 avoid sending two errors to sentry w/ burnettk git-subtree-dir: flask-bpmn git-subtree-split: cedc5253add81a18a274f2cd3289fe36bb138f8b --- src/flask_bpmn/api/api_error.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/flask_bpmn/api/api_error.py b/src/flask_bpmn/api/api_error.py index d1b8be17..eb390abe 100644 --- a/src/flask_bpmn/api/api_error.py +++ b/src/flask_bpmn/api/api_error.py @@ -88,7 +88,6 @@ class ApiError(Exception): # Assure that there is nothing in the json data that can't be serialized. instance.task_data = ApiError.remove_unserializeable_from_dict(task.data) - current_app.logger.error(message, exc_info=True) return instance @staticmethod @@ -125,7 +124,6 @@ class ApiError(Exception): instance.task_name = task_spec.description or "" if task_spec._wf_spec: instance.file_name = task_spec._wf_spec.file - current_app.logger.error(message, exc_info=True) return instance @classmethod