Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 21f74c9

Browse files
https callable function - uncatchable error #1159
1 parent 43e76f8 commit 21f74c9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/functions/functions.ios.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ export function httpsCallable<I = {}, O = {}>(functionName: string): HttpsCallab
1111

1212
const handleCompletion = (result: FIRHTTPSCallableResult, err: NSError) => {
1313
if (err) {
14-
if (err.domain === FIRFunctionsErrorDomain) {
15-
const message = err.localizedDescription;
16-
reject(message);
17-
return;
18-
}
19-
2014
reject(err.localizedDescription);
2115
return;
2216
}

0 commit comments

Comments
 (0)