]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- log url that failed
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 31 Jan 2011 16:46:27 +0000 (16:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/rpm_builder.py -> 1.126

PLD_Builder/rpm_builder.py

index df129d3c83ac19440e0a717e705ba86fefc01a66..95c254a3d883c7475d8fbf226760eb627d99b132 100644 (file)
@@ -88,7 +88,7 @@ def fetch_src(r, b):
             good = True
         except urllib2.HTTPError, error:
             # fail in a way where cron job will retry
-            msg = "unable to fetch file, http code: %d" % error.code
+            msg = "unable to fetch url %s, http code: %d" % (src_url, error.code)
             b.log_line(msg)
             queue_time = time.time() - r.time
             # 6 hours
@@ -101,7 +101,7 @@ def fetch_src(r, b):
         except urllib2.URLError, error:
             # see errno.h
             if error.errno in [-3, 60, 61, 110, 111]:
-                b.log_line("unable to connect... trying again")
+                b.log_line("unable to connect to %s... trying again" % (src_url))
                 continue
             else:
                 raise
This page took 0.106946 seconds and 4 git commands to generate.