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.
2 parents 487617a + e190dc4 commit 98ea116Copy full SHA for 98ea116
aws-cpp-sdk-core/source/client/AWSClient.cpp
@@ -598,7 +598,7 @@ AWSError<CoreErrors> AWSXMLClient::BuildAWSError(const std::shared_ptr<Http::Htt
598
XmlNode codeNode = errorNode.FirstChild("Code");
599
XmlNode messageNode = errorNode.FirstChild("Message");
600
601
- if (!(codeNode.IsNull() || messageNode.IsNull()))
+ if (!codeNode.IsNull())
602
{
603
error = GetErrorMarshaller()->Marshall(StringUtils::Trim(codeNode.GetText().c_str()),
604
StringUtils::Trim(messageNode.GetText().c_str()));
0 commit comments