mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
[PM-2915] Fix config service null exception error bug (#2778)
This commit is contained in:
parent
bbef0f8c93
commit
685e0f407a
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ namespace Bit.Core.Services
|
|||
_stateService.SetConfigs(_configs);
|
||||
}
|
||||
}
|
||||
catch (ApiException ex) when (ex.Error.StatusCode == System.Net.HttpStatusCode.BadGateway)
|
||||
catch (ApiException ex) when (ex.Error?.StatusCode == System.Net.HttpStatusCode.BadGateway)
|
||||
{
|
||||
// ignore if there is no internet connection and return local configs
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue