We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cad98d8 commit f418241Copy full SHA for f418241
src/Sentry/Laravel/Console/TestCommand.php
@@ -7,6 +7,7 @@
7
use Illuminate\Support\Str;
8
use Psr\Log\AbstractLogger;
9
use Sentry\ClientBuilder;
10
+use Sentry\Laravel\Version;
11
use Sentry\State\Hub;
12
use Sentry\State\HubInterface;
13
use Sentry\Tracing\SpanContext;
@@ -99,6 +100,10 @@ public function handle(): int
99
100
return 1;
101
}
102
103
+ // Set the Laravel SDK identifier and version
104
+ $clientBuilder->setSdkIdentifier(Version::SDK_IDENTIFIER);
105
+ $clientBuilder->setSdkVersion(Version::SDK_VERSION);
106
+
107
// We set a logger so we can surface errors thrown internally by the SDK
108
$clientBuilder->setLogger(new class($this) extends AbstractLogger {
109
private $command;
0 commit comments