diff --git a/gstlal-inspiral/python/inspiral.py b/gstlal-inspiral/python/inspiral.py index ac4ac5e6f07234f413f9b8e58fbb1244a9a62828..76dbb37cdab31de6bf60eb5703cb8328f75f4dcb 100644 --- a/gstlal-inspiral/python/inspiral.py +++ b/gstlal-inspiral/python/inspiral.py @@ -760,6 +760,7 @@ class GracedBWrapper(object): gracedb_ids.append(resp_json["graceid"]) break print >>sys.stderr, "gracedb upload of %s failed on attempt %d/%d: %d: %s" % (filename, attempt, self.retries, resp.status, httplib.responses.get(resp.status, "Unknown")) + print >>sys.stderr, resp_json time.sleep(random.lognormal(math.log(self.retry_delay), .5)) else: print >>sys.stderr, "gracedb upload of %s failed" % filename