Skip to content

Commit

Permalink
Update ConsoleIntegration.php to always register the empty sentryMoni…
Browse files Browse the repository at this point in the history
…tor macro (#812)
  • Loading branch information
rzv-me authored Dec 12, 2023
1 parent c7d0b3b commit 9d469fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Sentry/Laravel/Features/ConsoleIntegration.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ class ConsoleIntegration extends Feature
*/
private $cache;

public function register(): void
{
$this->onBootInactive();
}

public function isApplicable(): bool
{
return $this->container()->make(Application::class)->runningInConsole();
Expand Down

0 comments on commit 9d469fe

Please sign in to comment.