Fix #714
This commit is contained in:
parent
bf8fc11b53
commit
a50b7591ca
@ -6242,6 +6242,8 @@ inline Client::Client(const char *scheme_host_port,
|
|||||||
#else
|
#else
|
||||||
if (!scheme.empty() && scheme != "http") {
|
if (!scheme.empty() && scheme != "http") {
|
||||||
#endif
|
#endif
|
||||||
|
std::string msg = "'" + scheme + "' scheme is not supported.";
|
||||||
|
throw std::invalid_argument(msg);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user