We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e3d93 commit 9512373Copy full SHA for 9512373
Sources/JavaScriptEventLoop/JSRemote.swift
@@ -70,6 +70,8 @@ private final class _JSRemoteContext: @unchecked Sendable {
70
continuation.resume(returning: .success(try body(sourceObject)))
71
} catch let error as E {
72
continuation.resume(returning: .failure(error))
73
+ } catch {
74
+ preconditionFailure("Unexpected error type: \(error)")
75
}
76
return false
77
0 commit comments