Include referrer in test crawler crash reports, format the result like
a 500 - Legacy-Id: 6063
This commit is contained in:
parent
023d02feb8
commit
a3f39aef3c
|
@ -64,7 +64,7 @@ while urls:
|
|||
print "was fetching", url
|
||||
sys.exit(1)
|
||||
except:
|
||||
print "FAIL", url
|
||||
print 500, "%.3fs" % (datetime.datetime.now() - timestamp).total_seconds(), url, "FAIL (from %s)" % referrer
|
||||
print "============="
|
||||
print traceback.format_exc()
|
||||
print "============="
|
||||
|
|
Loading…
Reference in a new issue