In my case, I could not get the network error message when the phone is in airplane mode. If `then onError` is added to the post function, I can use `then onError` on outside to get error messages.  