mirror of
https://github.com/bitwarden/mobile
synced 2025-02-10 00:40:54 +01:00
[PM-2915] Fix config service null exception error bug (#2778)
This commit is contained in:
parent
bbef0f8c93
commit
685e0f407a
@ -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…
x
Reference in New Issue
Block a user