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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user