Обновлёна зависимость mito/yii2-sentry

This commit is contained in:
ErickSkrauch
2017-04-15 11:50:38 +03:00
parent 215cabcaf3
commit b6e04fb2a2
2 changed files with 5 additions and 5 deletions

View File

@@ -8,6 +8,10 @@ class Component extends \mito\sentry\Component {
public $jsNotifier = false;
public function init() {
if (!$this->enabled) {
return;
}
if (is_array($this->client) && !isset($this->client['release'])) {
$this->client['release'] = Yii::$app->version;
}