This commit is contained in:
yhirose 2020-10-21 13:02:33 -04:00
parent bf8fc11b53
commit a50b7591ca

View file

@ -6242,6 +6242,8 @@ inline Client::Client(const char *scheme_host_port,
#else
if (!scheme.empty() && scheme != "http") {
#endif
std::string msg = "'" + scheme + "' scheme is not supported.";
throw std::invalid_argument(msg);
return;
}