Skip to content

Commit 15078a8

Browse files
authored
Handle reply even if diff merging fails
Signed-off-by: Carson Katri <[email protected]>
1 parent e63af86 commit 15078a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LiveViewNative/Coordinators/LiveViewCoordinator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public class LiveViewCoordinator<R: RootRegistry>: ObservableObject {
223223
switch json {
224224
case let .object(object):
225225
if case let .object(diff) = object["diff"] {
226-
try self.handleDiff(payload: .object(object: diff), baseURL: self.url)
226+
try? self.handleDiff(payload: .object(object: diff), baseURL: self.url)
227227
if case let .object(reply) = diff["r"] {
228228
return reply
229229
}

0 commit comments

Comments
 (0)