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 05aa059 commit d9413e7Copy full SHA for d9413e7
src/Connection.php
@@ -360,8 +360,9 @@ public function open()
360
$this->manager->selectServer($this->manager->getReadPreference());
361
362
$this->initConnection();
363
- if($this->enableProfiling)
+ if ($this->enableProfiling) {
364
Yii::endProfile($token, __METHOD__);
365
+ }
366
} catch (\Exception $e) {
367
if($this->enableProfiling)
368
0 commit comments