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

View File

@@ -58,7 +58,7 @@ class ProcessWalletTransactionJob implements ShouldQueue
//Declare the class variables
$finance = new FinanceHelper();
$finance->GetWalletTransaction($this->division, $this->charId);
$exception = $finance->GetWalletTransaction($this->division, $this->charId);
//After the job is completed, delete the job
$this->delete();

View File

@@ -9,7 +9,7 @@ namespace App\Library\Finances\Helper;
//Internal Library
use DB;
//use Log;
use Log;
//Job
use App\Jobs\SendEveMailJob;
@@ -77,8 +77,8 @@ class FinanceHelper {
'division' => 3,
]);
} catch(RequestFailedException $e) {
//Log::critical($e->getEsiResponse());
return null;
Log::critical($e->getEsiResponse());
return -1;
}
//Decode the wallet from json into an array