only show err number on nonzero