TIMOB-5756 add log instead of crash

add log instead of crash
https://jira.appcelerator.org/browse/TIMOB-5756