Merge pull request #1027 from adamholdenyall/patch-3

Catch all exceptions on Deserialize
This commit is contained in:
wing328 2015-07-30 10:06:32 +08:00
commit bc528ef928

View File

@ -235,7 +235,7 @@ namespace {{packageName}}.Client
{
return JsonConvert.DeserializeObject(content, type);
}
catch (IOException e)
catch (Exception e)
{
throw new ApiException(500, e.Message);
}