pipeline: make errors easier to debug by including the request