You shouldn't swallow this exception. If an exception is thrown the task will be marked as failed, which is what we want.