Need to provide 'more info' on failure with individual URL in CLI.

This commit is contained in:
Jim Miller
2016-09-21 17:50:17 -05:00
parent ab44185cfa
commit 6e2635a110
+2
View File
@@ -236,6 +236,8 @@ def main(argv=None,
passed_personalini)
#print("pagecache:%s"%options.pagecache.keys())
except Exception, e:
if len(urls) == 1:
raise
print "URL(%s) Failed: Exception (%s). Run URL individually for more detail."%(url,e)
# make rest a function and loop on it.