1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 01:03:24 +00:00

Handle all exceptions from API calls

This commit is contained in:
Kyle Spearrin
2017-02-06 09:55:35 -05:00
parent d112e0ea42
commit 749508871b
7 changed files with 16 additions and 16 deletions

View File

@@ -44,7 +44,7 @@ namespace Bit.App.Repositories
return ApiResult.Success(response.StatusCode);
}
catch(WebException)
catch
{
return HandledWebException();
}
@@ -76,7 +76,7 @@ namespace Bit.App.Repositories
return ApiResult.Success(response.StatusCode);
}
catch(WebException)
catch
{
return HandledWebException();
}