diff options
author | Tor Brede Vekterli <vekterli@vespa.ai> | 2024-02-23 17:01:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 17:01:41 +0100 |
commit | 41df29aebc717cc63497488302054b40ff755fb0 (patch) | |
tree | 996dad2ba986620574136b777eed0a6e0664cbed | |
parent | fadab1c4c0e3caa88261c525295eec6dd910dbe3 (diff) | |
parent | 49fd5ec983ce8c43409a1892a8ca8708d379ca43 (diff) |
Merge pull request #30398 from vespa-engine/vekterli/no-hexdump-on-decode-failure
Don't do a hex dump of messages into the log upon protocol deserialization failures
-rw-r--r-- | documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp b/documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp index 3e1ae07f7ca..7a03afbaf48 100644 --- a/documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp +++ b/documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp @@ -72,10 +72,6 @@ RoutableRepository::decode(const vespalib::Version &version, mbus::BlobRef data) if (!ret) { LOG(error, "Routable factory failed to deserialize routable of type %d (version %s).", type, version.toString().c_str()); - - std::ostringstream ost; - document::StringUtil::printAsHex(ost, data.data(), data.size()); - LOG(error, "%s", ost.str().c_str()); return {}; } return ret; |