Fixed bug related to untrapped exit code exception when continue on error is true.