-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch unhandled exception in video client scope (#1137)
* Treat EOFException errors as temporary * Spotless * Add the concept of `safeCall` to ensure uncaught exceptions don't crash the SDK. * Add the concept of `safeCall` to ensure uncaught exceptions don't crash the SDK. * Correctly connect / disconnect based on active call state * When the socket is connected don't reconnect * Spotless and API * Add extra logging * Add exception handling for scope in service and in the video client to ensure any uncaught exceptions are not crashing * Spotless and API dump * Add CoroutineName to exception handler * Remove CrashDebug logging * Spotless * When an error is 401 during a connection phase, don't treat it as a `ConnectionError` which will allow for refresh token --------- Co-authored-by: Liviu Timar <[email protected]>
- Loading branch information
1 parent
98d467f
commit a533306
Showing
6 changed files
with
251 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.