fix: add check for variable value before calling method (#3868)
This commit is contained in:
parent
4d76dd95c5
commit
48676b0cbc
1 changed files with 2 additions and 1 deletions
|
|
@ -556,7 +556,8 @@ class Graph:
|
|||
self.tracing_service.set_run_name(name)
|
||||
|
||||
async def initialize_run(self):
|
||||
await self.tracing_service.initialize_tracers()
|
||||
if self.tracing_service:
|
||||
await self.tracing_service.initialize_tracers()
|
||||
|
||||
async def end_all_traces(self, outputs: dict[str, Any] | None = None, error: Exception | None = None):
|
||||
if not self.tracing_service:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue