fixed /api . responds with profiles.

This commit is contained in:
kay.one 2013-01-19 17:00:20 -08:00
commit 5fb1f4902f
4 changed files with 12 additions and 5 deletions

View file

@ -131,6 +131,11 @@ namespace NzbDrone.Core.Datastore
}
catch (SqlCeException e)
{
if (e.Message.Contains("file sharing violation"))
{
logger.WarnException("file is in use. skipping.", e);
return;
}
logger.WarnException(
"Safe recovery failed. will attempts a more aggressive strategy. might case loss of data.",
e);