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
This commit is contained in:
burnettk 2022-10-27 22:03:51 -04:00
parent f4a86f4a22
commit bf48f91a2f
1 changed files with 0 additions and 2 deletions

View File

@ -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