Fixed wrong XMLSerializer in ServiceException.php GitHub issue #100
This commit is contained in:
Родитель
c74ea5a98e
Коммит
9a1ed127a3
|
@ -1,5 +1,6 @@
|
|||
* Option parameter `ListDirectoriesAndFilesOptions` of `FileRestProxy::listDirectoriesAndFiles` is now able to set a prefix which limits the listing to a specified prefix.
|
||||
* The `BlobRestProxy::createMessage` now returns information about the message that was just added, including the pop receipt.
|
||||
* Fixed wrong `XmlSerializer` in ServiceException.php.
|
||||
|
||||
2017.08 - version 0.18.0
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
namespace MicrosoftAzure\Storage\Common\Exceptions;
|
||||
|
||||
use MicrosoftAzure\Storage\Common\Internal\Serialization\XMLSerializer;
|
||||
use MicrosoftAzure\Storage\Common\Internal\Serialization\XmlSerializer;
|
||||
use MicrosoftAzure\Storage\Common\Internal\Resources;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
|
@ -83,7 +83,7 @@ class ServiceException extends \LogicException
|
|||
{
|
||||
//try to parse using xml serializer, if failed, return the whole body
|
||||
//as the error message.
|
||||
$serializer = new XMLSerializer();
|
||||
$serializer = new XmlSerializer();
|
||||
$errorMessage = '';
|
||||
try {
|
||||
$internalErrors = libxml_use_internal_errors(true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче