scheduler: mirror check - improve error handling