From 43fb030133333cdc0c30a9b9a2061fd42e7f4b22 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Sun, 21 Dec 2025 15:37:21 +0100 Subject: [PATCH] Don't log yarn exceptions as error but warning (#2022) --- app/Services/Helpers/PluginService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/Helpers/PluginService.php b/app/Services/Helpers/PluginService.php index 3a496e6ae..37631112b 100644 --- a/app/Services/Helpers/PluginService.php +++ b/app/Services/Helpers/PluginService.php @@ -16,6 +16,7 @@ use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Http; +use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Process; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Str; @@ -264,7 +265,7 @@ class PluginService throw ($exception); } - report($exception); + Log::warning($exception->getMessage(), ['exception' => $exception]); } return false;