timob-11653: expose error stack trace

test case in  JIRA: https://jira.appcelerator.org/browse/TIMOB-11653