Add handle resource error action