} catch (IllegalArgumentException e) {
// This is a workaround for NETCONF-1114 where the encrypted password's lexical structure is not enforced
// in the datastore and it ends up surfacing when we decrypt the password.
- LOG.warn("RemoteDevice{{}} failed to connect", nodeId, e);
+ LOG.warn("RemoteDevice{{}} failed to connect, removing from operational datastore", nodeId, e);
+ deviceSalFacade.close();
return;
}