Catch SecretNotFound exceptions

This commit is contained in:
Jim Norman 2006-10-23 16:23:30 +00:00
parent f60d8d1cc6
commit d9c92e679f

View File

@ -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);
}
}
}