Last active
August 25, 2021 08:05
-
-
Save theShmoo/08b11143aa0291893850e6f3836aa9fc to your computer and use it in GitHub Desktop.
patch for aws-cpp-sdk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp | |
index f70a6c88f..10e9fb7d2 100644 | |
--- a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp | |
+++ b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp | |
@@ -72,9 +72,6 @@ namespace Aws | |
assert(handler); | |
if (!handler) | |
{ | |
- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before." | |
- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", " | |
- "ErrorMessage: " << handler->GetEventPayloadAsString()); | |
return; | |
} | |
handler->WriteMessageEventPayload(static_cast<unsigned char*>(payload->buffer), payload->len); | |
@@ -129,9 +126,6 @@ namespace Aws | |
assert(handler); | |
if (!handler) | |
{ | |
- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before." | |
- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", " | |
- "ErrorMessage: " << handler->GetEventPayloadAsString()); | |
return; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment