From 51a71beb92276977468be1fe51cef06f026835a1 Mon Sep 17 00:00:00 2001 From: Michael Davis <michael.davis@cern.ch> Date: Mon, 1 Mar 2021 13:22:44 +0100 Subject: [PATCH] Adds read/writemaxdrives parameters to cta-catalogue-initialise.sh --- common/exception/XrootCl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/exception/XrootCl.cpp b/common/exception/XrootCl.cpp index fc7b52f945..fee2dc008a 100644 --- a/common/exception/XrootCl.cpp +++ b/common/exception/XrootCl.cpp @@ -34,7 +34,9 @@ XrootCl::XrootCl(const XrdCl::XRootDStatus& status, const std::string & what) { w << status.ToStr() << " code:" << status.code << " errNo:" << status.errNo << " status:" << status.status; - getMessage().str(w.str()); + std::string x(w.str()); + x.resize(x.find_first_of('\0')); + getMessage().str(x); } void XrootCl::throwOnError(const XrdCl::XRootDStatus& status, std::string context) -- GitLab