Catch SecretNotFound exceptions
This commit is contained in:
parent
f60d8d1cc6
commit
d9c92e679f
@ -85,6 +85,9 @@ namespace Novell.CASA.DataEngines
|
||||
|
||||
while (se.MoveNext())
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
|
||||
Secret secret = store.getSecret(se.Current);
|
||||
NameValueCollection nvc = secret.getKeyValueCollection();
|
||||
@ -148,7 +151,11 @@ namespace Novell.CASA.DataEngines
|
||||
|
||||
//Finally Add Secret to Elem
|
||||
keychain.AppendChild(mi_secret);
|
||||
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
//Console.WriteLine("Secret Not Found: " + se.Current);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user