Skip to content

Commit

Permalink
Merge branch 'reconnect-catchall' of https://github.com/botlabs-gg/La…
Browse files Browse the repository at this point in the history
…valink.kt into botlabs-gg-reconnect-catchall
  • Loading branch information
DRSchlaubi committed Nov 30, 2023
2 parents 8e2c920 + de937ba commit 14c0d50
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ internal actual suspend fun NodeImpl.connect(
)
} catch (e: ConnectTimeoutException) {
internalReconnect(IllegalStateException("The connection to the node timed out", e))
} catch (e: ClientRequestException) {
internalReconnect(e)
} catch (e: ConnectException) {
} catch (e: Exception) {
internalReconnect(e)
}
}

0 comments on commit 14c0d50

Please sign in to comment.