ably-cocoa
ably-cocoa copied to clipboard
Update `_time` function to not duplicate error creation
As in case of Accept header in this comment https://github.com/ably/ably-cocoa/pull/1420#discussion_r917117828 I think it's a legacy code in the _time function. Error creation is handled for all requests in the executeRequest:... method:
https://github.com/ably/ably-cocoa/blob/0fe3c59658ce7d0b7181571cdad1f068d4085088/Source/ARTRest.m#L372
Originally posted by maratal in https://github.com/ably/ably-cocoa/issues/1442#issuecomment-1179390433