re-add exception handling to regrade util (#2045)