Set the exit code return value from process to a none-zero error code when console.error is been called, and reset such if a console.log is used