diff --git a/src/Component.php b/src/Component.php index 75d9b88..86d9a4f 100644 --- a/src/Component.php +++ b/src/Component.php @@ -61,12 +61,11 @@ class Component extends \yii\base\Component public function init() { - $this->validateDsn(); - if (!$this->enabled) { return; } + $this->validateDsn(); $this->setRavenClient(); $this->setEnvironmentOptions(); $this->generatePublicDsn();