From 2328a8ebc837b041543caba589fca887540ada67 Mon Sep 17 00:00:00 2001
From: Odilitime <janesmith@airmail.cc>
Date: Wed, 2 Aug 2017 02:53:16 -0700
Subject: [PATCH] include more helpful debugging text

---
 src/main.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main.cpp b/src/main.cpp
index 9e7d949..620af87 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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;
     }
 
-- 
GitLab