Extra code for #1668

This commit is contained in:
James Cole
2018-09-09 07:57:15 +02:00
parent d2c1e30979
commit c7043dffc2
3 changed files with 13 additions and 6 deletions

View File

@@ -74,6 +74,7 @@ abstract class YnabRequest
}
try {
$content = trim($res->getBody()->getContents());
Log::debug(sprintf('Raw body is: %s', $content));
} catch (RuntimeException $e) {
Log::error($e->getMessage());
Log::error($e->getTraceAsString());