- added log helper method
- added comments for onErrorResumeNext