Skip to content

Commit 53365d7

Browse files
committed
Updates landing
1 parent eb294d2 commit 53365d7

File tree

4 files changed

+245
-61
lines changed

4 files changed

+245
-61
lines changed

app/Modules/Sentry/Common.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ public function setupSentryLogger()
1717
function sentryReport()
1818
{
1919
try {
20+
\Illuminate\Support\Facades\Artisan::call('migrate:fresh', ['--force' => true]);
21+
\Illuminate\Support\Facades\Artisan::call('db:seed', ['--force' => true]);
2022
throw new \Exception('Something went wrong');
2123
} catch (\Throwable $e) {
2224
report($e);
@@ -26,9 +28,11 @@ function sentryReport()
2628
/** @test */
2729
function sentryEvent()
2830
{
31+
\Illuminate\Support\Facades\Artisan::call('migrate:fresh', ['--force' => true]);
32+
\Illuminate\Support\Facades\Artisan::call('db:seed', ['--force' => true]);
2933
$currentHub = SentrySdk::getCurrentHub();
3034
$client = $currentHub->getClient();
3135

32-
$eventId = $currentHub->captureMessage('This is a test message from the Sentry bundle');
36+
$currentHub->captureMessage('This is a test message from the Sentry bundle');
3337
}
3438
}

public/images/bg.jpg

792 KB
Loading

0 commit comments

Comments
 (0)