From 69d441c93b889985160f7d9b01426ae4501d2955 Mon Sep 17 00:00:00 2001 From: Oleh Hudeichuk Date: Sun, 5 Sep 2021 20:27:40 +0300 Subject: [PATCH] fix the call handler --- Sources/TonClientSwift/Binding/Binding.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/TonClientSwift/Binding/Binding.swift b/Sources/TonClientSwift/Binding/Binding.swift index 2a62eae..70f391d 100644 --- a/Sources/TonClientSwift/Binding/Binding.swift +++ b/Sources/TonClientSwift/Binding/Binding.swift @@ -118,7 +118,7 @@ public final class TSDKBindingModule: TSDKBindingPrtcl { do { try BindingStore.getResponseHandler(requestId)?(requestId, swiftString, responseType, finished) } catch { - try! BindingStore.getResponseHandler(requestId)?( + try? BindingStore.getResponseHandler(requestId)?( requestId, [ "code": 0,