Skip to content
Snippets Groups Projects
Commit 2328a8eb authored by Odilitime's avatar Odilitime
Browse files

include more helpful debugging text

parent 9f37052c
No related branches found
No related tags found
No related merge requests found
......@@ -130,10 +130,11 @@ int main(int argc, char *argv[]) {
}
std::cout << "/g/ntr - NetRunner build " << __DATE__ << std::endl;
currentURL=argv[1];
std::cout << "loading [" << currentURL << "]" << std::endl;
WebResource res = getWebResource(currentURL);
if (res.resourceType == ResourceType::INVALID) {
std::cout << "Invalid resource type" << std::endl;
std::cout << "Invalid resource type: " << res.raw << std::endl;
return 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment