Skip to content

Commit b23b7ca

Browse files
committed
fix(android): revert wraping native error so that app
can do it
1 parent ba7978f commit b23b7ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/https/request.android.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,15 +623,13 @@ export function createRequest(opts: HttpsRequestOptions, useLegacy: boolean = tr
623623
});
624624
}
625625
} catch (error) {
626-
console.error(error);
627626
delete runningClients[tag];
628-
reject(wrapJavaException(error));
627+
reject(error);
629628
}
630629
},
631630
onFailure(task, error) {
632-
console.error(error);
633631
delete runningClients[tag];
634-
reject(wrapJavaException(error));
632+
reject(error);
635633
}
636634
})
637635
);

0 commit comments

Comments
 (0)