Skip to content
Snippets Groups Projects
Commit c6c5db89 authored by Ahmed Shehata's avatar Ahmed Shehata
Browse files

Merge branch 'integration' into 'main'

Fix a scenario where failing to get roundsList is blocking the whole message delivery callback

See merge request elixxir/elixxir-dapps-sdk-swift!15
parents a65d6542 c5099d28
No related branches found
No related tags found
1 merge request!15Fix a scenario where failing to get roundsList is blocking the whole message delivery callback
......@@ -46,7 +46,7 @@ private final class Callback: NSObject, BindingsMessageDeliveryCallbackProtocol
let roundResults = try decoder.decode([Int].self, from: roundResultsData)
return onCallback(.delivered(roundResults: roundResults))
} catch {
fatalError("BindingsMessageDeliveryCallback roundResults decoding error: \(error)")
return onCallback(.delivered(roundResults: [Int]()))
}
}
if !delivered, roundResults == nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment