Search code examples
iostwiliotwilio-conversations

The twilio iOS SDK for conversations doesn't surface errors to the delegate


I am not getting any errors surfacing from the TwilioConversationsClientDelegate

public func conversationsClient(_ client: TwilioConversationsClient, errorReceived error: TCHError)

The errors do show up in the console when the log level is set to .debug They just aren't surfacing in either the completionhandler for api calls, nor the above delegate function.

Specifically the errors Im concerned about are connection errors.


Solution

  • This delegate method is calling on client's issues only. For instance, if client could not be initialized, updating token failed or registering for notifications went wrong.

    Are you expecting to see these errors in this delegate method?