timob-15950: only printing error messages in DEBUG mode
Merge pull request #5114 from pingwang2011/timob-15950

timob-15950: Android: Print error messages in Debug mode if the sync events are not processed