Skip to content

Commit

Permalink
apply lint
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Nov 27, 2023
1 parent acdf8ef commit 22fed09
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,8 @@ def _patched_api_call(self, original_func, instance, args, kwargs):
_apply_response_attributes(span, result)
_safe_invoke(extension.on_error, span, error)
raise
else:
_apply_response_attributes(span, result)
_safe_invoke(extension.on_success, span, result)
_apply_response_attributes(span, result)
_safe_invoke(extension.on_success, span, result)
finally:
_safe_invoke(extension.after_service_call)
self._call_response_hook(span, call_context, result)
Expand Down

0 comments on commit 22fed09

Please sign in to comment.