test data
This commit is contained in:
@@ -72,7 +72,7 @@ class Test extends Command
|
||||
} catch(RequestFailedException $e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var_dump($reponse);
|
||||
dd($response->getErrorCode());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,12 +109,14 @@ class ProcessSendEveMailJob implements ShouldQueue
|
||||
$this->release(20);
|
||||
}
|
||||
|
||||
if($response == null) {
|
||||
//Get the error code and take the appropriate action
|
||||
$errorCode = $response->getErrorCode();
|
||||
|
||||
if($errorCode === null) {
|
||||
$this->release(30);
|
||||
}
|
||||
|
||||
//Get the error code and take the appropriate action
|
||||
$errorCode = $response->getErrorCode();
|
||||
|
||||
|
||||
switch($errorCode) {
|
||||
case 400: //Bad Request
|
||||
|
||||
Reference in New Issue
Block a user