Skip to content

Commit 3ccebb8

Browse files
Update Sources/SparkConnect/ErrorUtils.swift
Co-authored-by: YangJie <[email protected]>
1 parent 4f8a57e commit 3ccebb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SparkConnect/ErrorUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public enum ErrorUtils {
2828
result = try await block()
2929
try await finallyBlock()
3030
} catch {
31-
try await finallyBlock()
31+
try? await finallyBlock()
3232
throw error
3333
}
3434
return result

0 commit comments

Comments
 (0)