From 7cd3bac29c450db1d88e4e0b4ff4c8e2a38e915a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 17 Feb 2016 10:35:54 +1100 Subject: [PATCH] Improving error reporting API --- app/Models/Invoice.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index 7198eff647fa..b82e8ea9cf6b 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -757,6 +757,8 @@ class Invoice extends EntityModel implements BalanceAffecting $response = curl_exec($curl); curl_close($curl); + Log::info($response); + $encodedString = strip_tags($response); $pdfString = Utils::decodePDF($encodedString);