Skip to content

Commit a3f39ae

Browse files
committed
Include referrer in test crawler crash reports, format the result like
a 500 - Legacy-Id: 6063
1 parent 023d02f commit a3f39ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/bin/test-crawl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ while urls:
6464
print "was fetching", url
6565
sys.exit(1)
6666
except:
67-
print "FAIL", url
67+
print 500, "%.3fs" % (datetime.datetime.now() - timestamp).total_seconds(), url, "FAIL (from %s)" % referrer
6868
print "============="
6969
print traceback.format_exc()
7070
print "============="

0 commit comments

Comments
 (0)