Skip to content

Commit 9d469fe

Browse files
authored
Update ConsoleIntegration.php to always register the empty sentryMonitor macro (#812)
1 parent c7d0b3b commit 9d469fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Sentry/Laravel/Features/ConsoleIntegration.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ class ConsoleIntegration extends Feature
2828
*/
2929
private $cache;
3030

31+
public function register(): void
32+
{
33+
$this->onBootInactive();
34+
}
35+
3136
public function isApplicable(): bool
3237
{
3338
return $this->container()->make(Application::class)->runningInConsole();

0 commit comments

Comments
 (0)