attach error-information to url on redirect