Include referrer in test crawler crash reports, format the result like

a 500
 - Legacy-Id: 6063
This commit is contained in:
Ole Laursen 2013-08-15 09:58:27 +00:00
parent 023d02feb8
commit a3f39aef3c

View file

@ -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 "============="