Improving error reporting API
This commit is contained in:
parent
a1be1f3529
commit
09650123d7
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Utils;
|
||||
use DateTime;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
|
@ -752,6 +753,8 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||
],
|
||||
];
|
||||
|
||||
Log::info($opts);
|
||||
|
||||
curl_setopt_array($curl, $opts);
|
||||
$response = curl_exec($curl);
|
||||
curl_close($curl);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue