Added try-catch for TaskAssignment expression; sending info about error