Capture work function exceptions and fill callbacks accordingly