Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to computing-help@ligo.org.

Commit 2d78f8ff authored by Alexander Pace's avatar Alexander Pace Committed by Chad Hanna

inspiral.py: add verbose logging to stderr on failed gracedb uploads

parent 875a994c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment