TOOLS-373: call ExitFail on errors