Show error message from logcat when its return value is non-zero, which means logcat encounter error when trying to dump log.