Passing error object to forceExit (minor fix for merge)