print ERR on exit err