(#2717) - use err.status, not err.name