Task error logging and gate error resume