We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be3a4f commit 9b2ca17Copy full SHA for 9b2ca17
src/Wrapper/JaegerConnectionWrapper.php
@@ -48,7 +48,10 @@ public function connect()
48
->addTag(new ErrorTag());
49
throw $e;
50
} finally {
51
- $this->tracer->finish($span->addTag(new DbType($this->getDatabasePlatform()->getName())));
+ if ($this->isConnected()) {
52
+ $span->addTag(new DbType($this->getDatabasePlatform()->getName()));
53
+ }
54
+ $this->tracer->finish($span);
55
}
56
57
0 commit comments