mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-23 23:14: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\Artisan;
|
||||||
use Illuminate\Support\Facades\File;
|
use Illuminate\Support\Facades\File;
|
||||||
use Illuminate\Support\Facades\Http;
|
use Illuminate\Support\Facades\Http;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
use Illuminate\Support\Facades\Process;
|
use Illuminate\Support\Facades\Process;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
@ -264,7 +265,7 @@ class PluginService
|
|||||||
throw ($exception);
|
throw ($exception);
|
||||||
}
|
}
|
||||||
|
|
||||||
report($exception);
|
Log::warning($exception->getMessage(), ['exception' => $exception]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user