Bug Fix
Async-exec
if an js type exception is thrown, an invalid '0' exit code is returned to the caller, and also bypasses the 'throwOnError' option