Improving error reporting API

This commit is contained in:
David Bomba 2016-02-17 10:44:01 +11:00
parent 7da522599c
commit e3ee79f369

View File

@ -1,6 +1,5 @@
<?php namespace App\Models;
use Illuminate\Support\Facades\Log;
use Utils;
use DateTime;
use Illuminate\Database\Eloquent\SoftDeletes;
@ -757,8 +756,6 @@ class Invoice extends EntityModel implements BalanceAffecting
$response = curl_exec($curl);
curl_close($curl);
Log::info($response);
$encodedString = strip_tags($response);
$pdfString = Utils::decodePDF($encodedString);