def METHOD_NAME(self):
    self.log.debug("Starting build")
    try:
        yield self.builder.build()
    except Exception as e:
        raise web.HTTPError(500, str(e)) from None
    if self.builder.canceled:
        raise web.HTTPError(400, "Build canceled")
    self.log.debug("Build succeeded")
    self.set_status(200)