Don't log yarn exceptions as error but warning (#2022)

This commit is contained in:
Boy132 2025-12-21 15:37:21 +01:00 committed by GitHub
parent ae054f6e9b
commit 43fb030133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;