mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-23 13:54:02 +01:00
Don't log yarn exceptions as error but warning (#2022)
This commit is contained in:
parent
ae054f6e9b
commit
43fb030133
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user