Skip to content

Commit aee6659

Browse files
committed
Do enable error integrations when Spotlight is enabled
1 parent 5403be4 commit aee6659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Integration/IntegrationRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private function getDefaultIntegrations(Options $options): array
147147
new ModulesIntegration(),
148148
];
149149

150-
if ($options->getDsn() !== null) {
150+
if ($options->getDsn() !== null || $options->isSpotlightEnabled()) {
151151
array_unshift($integrations, new ExceptionListenerIntegration(), new ErrorListenerIntegration(), new FatalErrorListenerIntegration());
152152
}
153153

0 commit comments

Comments
 (0)