adds urls to error returns