mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 15:40:37 +00:00
AddAccountView: fix error handling (#2137)
This commit is contained in:
parent
563213d98f
commit
a3326c3fc2
1 changed files with 2 additions and 1 deletions
|
@ -136,11 +136,12 @@ struct AddAccountView: View {
|
|||
instance = nil
|
||||
instanceFetchError = nil
|
||||
}
|
||||
} catch _ as DecodingError {
|
||||
} catch _ as ServerError {
|
||||
instance = nil
|
||||
instanceFetchError = "account.add.error.instance-not-supported"
|
||||
} catch {
|
||||
instance = nil
|
||||
instanceFetchError = nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue