For some odd reason I am getting an error inside of Spatie's ParallelProcess saying that Target [Illuminate\Contracts\Debug\ExceptionHandler] is not instantiable. The code is:
\Async::run(function() use ($user) {
AmazonS3::copyRecursive('users/' . $user->id, 'private/users/' . $user->id, 'private');
}, [
'success' => function ($output) use ($user) {
AmazonS3::deleteRecursive('users/' . $user->id);
},
'timeout' => function () {
\Log::info('Async task took too long to execute');
},
'error' => function (\Throwable $exception) {
\Log::error($exception->getMessage(), $exception->getTrace());
},
]);
Hello,
For some odd reason I am getting an error inside of Spatie's ParallelProcess saying that
Target [Illuminate\Contracts\Debug\ExceptionHandler] is not instantiable.
The code is:The stack trace:
Seems as though the asThrowable() call in Spatie's library is where it is occurring:
Any guidance or fix would be awesome.