Skip to content

Commit

Permalink
Merge pull request #16 from Violet88github/feature/ReleaseStages
Browse files Browse the repository at this point in the history
added release stage
  • Loading branch information
JanSneeuw committed Nov 9, 2023
2 parents 8c35216 + 0ddb05f commit 5e978d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bugsnag.php
Expand Up @@ -21,6 +21,7 @@ public function __construct()
if (Environment::getEnv('BUGSNAG_ACTIVE') === "true") {
$this->bugsnag = Client::make(Environment::getEnv('BUGSNAG_API_KEY'));
$this->bugsnag->setAppType('Silverstripe');
$this->bugsnag->setReleaseStage(Environment::getEnv('BUGSNAG_RELEASE_STAGE') ?? 'development');
}
}

Expand Down

0 comments on commit 5e978d1

Please sign in to comment.