in crashclouseau/html.py [0:0]
def reports():
try:
prod = request.args.get("product", "Firefox")
channel = request.args.get("channel", "nightly")
buildid = request.args.get("buildid", "")
products = models.UUID.get_buildids()
if not buildid:
buildid = products[prod][channel][0][0]
signatures = models.UUID.get_uuids_from_buildid(buildid, prod, channel)
return render_template(
"reports.html",
buildids=json.dumps(products),
products=products,
selected_product=prod,
selected_channel=channel,
selected_bid=buildid,
signatures=signatures,
colors=utils.get_colors(),
)
except Exception:
logger.error("Invalid URL: {}".format(request.url), exc_info=True)
abort(404)