mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Track all errors in Sentry
This commit is contained in:
+6
-2
@@ -100,7 +100,9 @@ class RoomAccessTypeChooserService: RoomAccessTypeChooserServiceProtocol {
|
||||
|
||||
func applySelection(completion: @escaping () -> Void) {
|
||||
guard let room = session.room(withRoomId: currentRoomId) else {
|
||||
MXLog.error("[RoomAccessTypeChooserService] applySelection: room with ID \(currentRoomId) not found")
|
||||
MXLog.error("[RoomAccessTypeChooserService] applySelection: room with ID not found", context: [
|
||||
"room_id": currentRoomId
|
||||
])
|
||||
return
|
||||
}
|
||||
|
||||
@@ -164,7 +166,9 @@ class RoomAccessTypeChooserService: RoomAccessTypeChooserServiceProtocol {
|
||||
|
||||
private func readRoomState() {
|
||||
guard let room = session.room(withRoomId: currentRoomId) else {
|
||||
MXLog.error("[RoomAccessTypeChooserService] readRoomState: room with ID \(currentRoomId) not found")
|
||||
MXLog.error("[RoomAccessTypeChooserService] readRoomState: room with ID not found", context: [
|
||||
"room_id": currentRoomId
|
||||
])
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user