job fail in finance helper

This commit is contained in:
2019-05-25 00:14:45 -05:00
parent 610256f839
commit 8f3e9eefb0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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