We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9bcdbf commit e55723aCopy full SHA for e55723a
src/AbraFlexi/RO.php
@@ -1338,8 +1338,7 @@ public function parseResponse($responseDecoded, $responseCode)
1338
1339
if ($this->throwException) {
1340
$errors = $this->getErrors();
1341
-
1342
- throw new Exception(empty($errors) ? 'Problem ' : (\is_array($errors[0]) ? $errors[0]['message'] : $errors[0]), $this);
+ throw new Exception(empty($errors) ? 'Problem ' : ((\is_array($errors[0]) ? $errors[0]['message'] : $errors[0])).' '.$this->curlInfo['url'].' http error '.$this->lastResponseCode , $this);
1343
}
1344
1345
$this->addStatusMessage($this->lastResponseCode.': '.$this->curlInfo['url'].' ('.$this->format.') '.json_encode($this->getErrors()), 'warning');
0 commit comments