harness: simplify exception handling in interactive test.