catch more json exception

This commit is contained in:
bao-qian
2017-02-20 12:16:49 +00:00
committed by GitHub
parent 019cd51333
commit 17e5bb8d53

View File

@@ -58,7 +58,7 @@ namespace Wox.Infrastructure.Storage
{
_data = JsonConvert.DeserializeObject<T>(searlized, _serializerSettings);
}
catch (JsonSerializationException e)
catch (JsonException e)
{
LoadDefault();
Log.Exception($"|JsonStrorage.Deserialize|Deserialize error for json <{FilePath}>", e);