1 parent 5fadc23 commit d24937dCopy full SHA for d24937d
1 file changed
Framework/AnalysisSupport/src/AODJAlienReaderHelpers.cxx
@@ -132,9 +132,9 @@ static std::string describeException(std::exception const& exception)
132
try {
133
std::rethrow_if_nested(exception);
134
} catch (std::exception const& nested) {
135
- description += ": " + describeException(nested);
+ description += fmt::format(": {}", describeException(nested));
136
} catch (RuntimeErrorRef const& ref) {
137
- description += ": " + std::string(error_from_ref(ref).what);
+ description += fmt::format(": {}", error_from_ref(ref).what);
138
} catch (...) {
139
description += ": unknown exception";
140
}
0 commit comments