otel fix async_service_failure_hook

This commit is contained in:
Ishaan Jaff 2024-08-05 20:18:40 -07:00
parent 8d91112726
commit bec0350127

View file

@ -172,6 +172,7 @@ def log_to_opentelemetry(func):
error=e,
service=ServiceTypes.DB,
call_type=func.__name__,
parent_otel_span=kwargs["parent_otel_span"],
duration=0.0,
start_time=start_time,
end_time=end_time,