job fail in finance helper
This commit is contained in:
@@ -58,7 +58,7 @@ class ProcessWalletTransactionJob implements ShouldQueue
|
|||||||
//Declare the class variables
|
//Declare the class variables
|
||||||
$finance = new FinanceHelper();
|
$finance = new FinanceHelper();
|
||||||
|
|
||||||
$finance->GetWalletTransaction($this->division, $this->charId);
|
$exception = $finance->GetWalletTransaction($this->division, $this->charId);
|
||||||
|
|
||||||
//After the job is completed, delete the job
|
//After the job is completed, delete the job
|
||||||
$this->delete();
|
$this->delete();
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace App\Library\Finances\Helper;
|
|||||||
|
|
||||||
//Internal Library
|
//Internal Library
|
||||||
use DB;
|
use DB;
|
||||||
//use Log;
|
use Log;
|
||||||
|
|
||||||
//Job
|
//Job
|
||||||
use App\Jobs\SendEveMailJob;
|
use App\Jobs\SendEveMailJob;
|
||||||
@@ -77,8 +77,8 @@ class FinanceHelper {
|
|||||||
'division' => 3,
|
'division' => 3,
|
||||||
]);
|
]);
|
||||||
} catch(RequestFailedException $e) {
|
} catch(RequestFailedException $e) {
|
||||||
//Log::critical($e->getEsiResponse());
|
Log::critical($e->getEsiResponse());
|
||||||
return null;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Decode the wallet from json into an array
|
//Decode the wallet from json into an array
|
||||||
|
|||||||
Reference in New Issue
Block a user