set the exit code to non-zero when contracts fails