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:
parent
f4a86f4a22
commit
bf48f91a2f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue