Skip to content

Commit f61baab

Browse files
committed
Prevent request exceptions from being truncated
1 parent 0bccb3c commit f61baab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Providers/AppServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace App\Providers;
44

55
use App\Models\User;
6+
use Illuminate\Http\Client\RequestException;
67
use Illuminate\Http\Resources\Json\JsonResource;
78
use Illuminate\Support\Facades\Vite;
89
use Illuminate\Support\ServiceProvider;
@@ -19,6 +20,8 @@ class AppServiceProvider extends ServiceProvider
1920
{
2021
public function boot(): void
2122
{
23+
RequestException::dontTruncate();
24+
2225
JsonResource::withoutWrapping();
2326

2427
Vite::prefetch(concurrency: 3);

0 commit comments

Comments
 (0)