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