chore(fix): fixes sync response not correctly identifying all errors (#2346)
This commit is contained in:
@@ -8,7 +8,7 @@ export class GetInboundAsymmetricMessages {
|
||||
const response = await this.messageServer.getMessages()
|
||||
|
||||
if (isErrorResponse(response)) {
|
||||
return ClientDisplayableError.FromError(response.data.error)
|
||||
return ClientDisplayableError.FromNetworkError(response)
|
||||
}
|
||||
|
||||
return response.data.messages
|
||||
|
||||
Reference in New Issue
Block a user