update output on oserror exception