catch exception
updates status