Adds more info when raising error for request