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 824723d commit a1e3d93Copy full SHA for a1e3d93
Sources/JavaScriptEventLoop/JSRemote.swift
@@ -68,7 +68,7 @@ private final class _JSRemoteContext: @unchecked Sendable {
68
self.invokeBody = {
69
do {
70
continuation.resume(returning: .success(try body(sourceObject)))
71
- } catch let error {
+ } catch let error as E {
72
continuation.resume(returning: .failure(error))
73
}
74
return false
0 commit comments