Improve stacktraces by not wrapping CDS exceptions in RuntimeExceptions.

This commit is contained in:
Cody Henthorne
2025-03-14 16:13:38 -04:00
parent ab2f3e7918
commit 0d133b8d1e
2 changed files with 2 additions and 4 deletions

View File

@@ -72,8 +72,6 @@ class CdsApi(private val authWebSocket: SignalWebSocket.AuthenticatedWebSocket)
is TimeoutException -> NetworkResult.NetworkError(IOException("Timed out"))
else -> throw e
}
} catch (e: Exception) {
throw RuntimeException("Unexpected exception when retrieving registered users!", e)
}
}
}