1
0
mirror of synced 2025-04-19 00:24:02 +03:00
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;
}