diff --git a/arangod/GeneralServer/VppNetwork.h b/arangod/GeneralServer/VppNetwork.h index c87fac5cb6..ac6545612c 100644 --- a/arangod/GeneralServer/VppNetwork.h +++ b/arangod/GeneralServer/VppNetwork.h @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -60,6 +61,10 @@ inline std::size_t validateAndCount(char const* vpStart, } while (vpStart != vpEnd); return numPayloads - 1; } catch (std::exception const& e) { + VPackSlice slice(vpStart); + VPackHexDump dump(slice); + LOG_TOPIC(DEBUG, Logger::COMMUNICATION) + << "len: " << std::distance(vpStart, vpEnd) << " - " << dump ; throw std::runtime_error( std::string("error during validation of incoming VPack: ") + e.what()); }