Skip to content

Commit

Permalink
Merge pull request #7 from JustinElst/JustinElst-patch-1
Browse files Browse the repository at this point in the history
Fix for empty sentry deploy-config
  • Loading branch information
peterjaap authored Dec 10, 2024
2 parents 047bf62 + 836b0fb commit 4ca55fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Checks/SentryConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function run(): CheckResultInterface
$checkResult = $this->checkResultFactory->create();
$checkResult->setName('sentry_connection');
$checkResult->setLabel('Sentry connection');
$checkResult->setMeta($deploymentConfig->get('sentry'));
$checkResult->setMeta($deploymentConfig->get('sentry') ?? []);

if ($this->checkisSentryConfigured($deploymentConfig) === false) {
$checkResult->setStatus(CheckStatus::STATUS_FAILED);
Expand Down

0 comments on commit 4ca55fa

Please sign in to comment.