Set harness status to error if there is an uncaught exception.