From 6e2635a1102d4732476d62b9788b4be22151d8e0 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 21 Sep 2016 17:50:17 -0500 Subject: [PATCH] Need to provide 'more info' on failure with individual URL in CLI. --- fanficfare/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fanficfare/cli.py b/fanficfare/cli.py index e56e85f..23c7d54 100644 --- a/fanficfare/cli.py +++ b/fanficfare/cli.py @@ -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.