This commit is contained in:
James Cole 2020-06-23 20:45:10 +02:00
parent 0d76fcd564
commit 356c87da49

View File

@ -179,7 +179,7 @@ class UpdateRequest implements UpdateRequestInterface
Log::error('Ran into Guzzle error.'); Log::error('Ran into Guzzle error.');
Log::error($e->getMessage()); Log::error($e->getMessage());
Log::error($e->getTraceAsString()); Log::error($e->getTraceAsString());
$return['message'] = sprintf('Guzzle: %s', $e->getMessage()); $return['message'] = sprintf('Guzzle: %s', strip_tags($e->getMessage()));
return $return; return $return;
} }