Skip to content

Commit

Permalink
Remove redundant quote in type chec. (#11130)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis authored Jan 2, 2025
1 parent 15a1b2f commit 57ce062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/json_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ std::enable_if_t<sizeof...(JT) != 0, std::string> TypeCheckError() {
template <typename... JT>
void TypeCheck(Json const &value, StringView name) {
if (!detail::TypeCheckImpl<JT...>(value)) {
LOG(FATAL) << "Invalid type for: `" << name << "`, expecting one of the: {`"
LOG(FATAL) << "Invalid type for: `" << name << "`, expecting one of the: {"
<< detail::TypeCheckError<JT...>() << "}, got: `" << value.GetValue().TypeStr()
<< "`";
}
Expand Down

0 comments on commit 57ce062

Please sign in to comment.