Skip to content

Commit ebeddb6

Browse files
ziaratbansamdark
andauthored
Update src/Connection.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
1 parent d9413e7 commit ebeddb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Connection.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,9 @@ public function open()
364364
Yii::endProfile($token, __METHOD__);
365365
}
366366
} catch (\Exception $e) {
367-
if($this->enableProfiling)
367+
if ($this->enableProfiling) {
368368
Yii::endProfile($token, __METHOD__);
369+
}
369370
throw new Exception($e->getMessage(), (int) $e->getCode(), $e);
370371
}
371372

0 commit comments

Comments
 (0)