catch exception workerunit