Skip to content

Commit

Permalink
Make waitForCompletionOfOperationWithID re-throw error
Browse files Browse the repository at this point in the history
This is what its documentation says it does, but I mistakenly didn’t do
it in e3dcfe1. (It didn’t actually matter because nobody currently uses
the error that this method throws; they will do in an upcoming commit,
though.)
  • Loading branch information
lawrence-forooghian committed Nov 18, 2024
1 parent 773460c commit 601af75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/AblyChat/RoomLifecycleManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ internal actor DefaultRoomLifecycleManager<Contributor: RoomLifecycleContributor
logger.log(message: "Operation \(waitingOperationID) completed waiting for result of operation \(waitedOperationID), which completed successfully", level: .debug)
} catch {
logger.log(message: "Operation \(waitingOperationID) completed waiting for result of operation \(waitedOperationID), which threw error \(error)", level: .debug)
throw error
}
}

Expand Down

0 comments on commit 601af75

Please sign in to comment.