Commit 7619b530 authored by Davis King's avatar Davis King

Improved an error message

parent 122e8fe1
......@@ -27,7 +27,7 @@ namespace dlib
std::istringstream sin(full_address);
sin >> *this;
if (!sin)
throw invalid_network_address(full_address);
throw invalid_network_address("invalid network address: " + full_address);
}
// ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment