include the request object in build error

so that we will have the URL in sentry