Merge branch 'develop' into trunk
This commit is contained in:
commit
e38c3b4e4c
1 changed files with 7 additions and 1 deletions
|
|
@ -3,6 +3,8 @@
|
|||
namespace App\Jobs;
|
||||
|
||||
use App\Lib\CafelApi\Models\CafelClientModel;
|
||||
use GuzzleHttp\Exception\ConnectException;
|
||||
use GuzzleHttp\Exception\RequestException;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
|
|
@ -84,7 +86,11 @@ abstract class CafelJobs implements ShouldQueue
|
|||
$attribute => collect($messages)->implode(', ') . $verifiedValue
|
||||
];
|
||||
})->implode(' '))->all();
|
||||
}
|
||||
} catch (ConnectException | RequestException $e) {
|
||||
// ! Guzzle SSL Error connection failure
|
||||
\report($e);
|
||||
$this->invalidRows[] = collect($row)->put('validation_message', $e->getMessage())->all();
|
||||
}//end try
|
||||
}//end foreach
|
||||
} while (!empty($result));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue