mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improving error reporting API
This commit is contained in:
parent
7da522599c
commit
e3ee79f369
@ -1,6 +1,5 @@
|
|||||||
<?php namespace App\Models;
|
<?php namespace App\Models;
|
||||||
|
|
||||||
use Illuminate\Support\Facades\Log;
|
|
||||||
use Utils;
|
use Utils;
|
||||||
use DateTime;
|
use DateTime;
|
||||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||||
@ -757,8 +756,6 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||||||
$response = curl_exec($curl);
|
$response = curl_exec($curl);
|
||||||
curl_close($curl);
|
curl_close($curl);
|
||||||
|
|
||||||
Log::info($response);
|
|
||||||
|
|
||||||
$encodedString = strip_tags($response);
|
$encodedString = strip_tags($response);
|
||||||
$pdfString = Utils::decodePDF($encodedString);
|
$pdfString = Utils::decodePDF($encodedString);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user