Remove URI from error messages