mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 02:23:57 +00:00
Handle all exceptions from API calls
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Bit.App.Repositories
|
||||
var responseObj = JsonConvert.DeserializeObject<TokenResponse>(responseContent);
|
||||
return ApiResult<TokenResponse>.Success(responseObj, response.StatusCode);
|
||||
}
|
||||
catch(WebException)
|
||||
catch
|
||||
{
|
||||
return HandledWebException<TokenResponse>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user