otel fix async_service_failure_hook

This commit is contained in:
Ishaan Jaff 2024-08-05 20:18:40 -07:00
parent a68969ea0e
commit bf72b7e567

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,