Try/catch for data adapter added