Log first change exception

This commit is contained in:
bao-qian
2016-05-15 17:03:06 +01:00
parent 87497d2d09
commit cf9c41f437
20 changed files with 92 additions and 71 deletions

View File

@@ -63,12 +63,12 @@ namespace Wox.Infrastructure.Storage
}
catch (SerializationException e)
{
Log.Error(e);
Log.Exception(e);
LoadDefault();
}
catch (InvalidCastException e)
{
Log.Error(e);
Log.Exception(e);
LoadDefault();
}
finally
@@ -114,7 +114,7 @@ namespace Wox.Infrastructure.Storage
}
catch (SerializationException e)
{
Log.Error(e);
Log.Exception(e);
}
}
}

View File

@@ -60,7 +60,7 @@ namespace Wox.Infrastructure.Storage
catch (JsonSerializationException e)
{
LoadDefault();
Log.Error(e);
Log.Exception(e);
}
}