Browse Source

include more helpful debugging text

pull/2/head
Odilitime 5 years ago
parent
commit
2328a8ebc8
  1. 3
      src/main.cpp

3
src/main.cpp

@ -130,10 +130,11 @@ int main(int argc, char *argv[]) { @@ -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;
}

Loading…
Cancel
Save