Add debug code for insurance api #783
This commit is contained in:
parent
175ac92765
commit
9f4c16b149
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ class InsuranceConnector
|
|||
error_log("Insurance API Error: " . $error['message']);
|
||||
error_log(Psr7\Message::toString($e->getRequest()));
|
||||
error_log($e->getResponse()->getBody()->getContents());
|
||||
error_log("Insurance Creds: " . $this->username . ", " . $this->password);
|
||||
error_log("Insurance Hash: " . $this->generateHash());
|
||||
|
||||
if ($e->hasResponse()) {
|
||||
$error['response'] = Psr7\Message::toString($e->getResponse());
|
||||
|
|
|
|||
Loading…
Reference in a new issue