From 0548e57499bab3a6d9e3124cffa0772ea7f95581 Mon Sep 17 00:00:00 2001 From: nbransby Date: Mon, 29 Jul 2024 13:22:33 +0800 Subject: [PATCH] dont wrap in a FirebaseException as this is called internally and expects the original exception --- src/main/java/com/google/firebase/auth/FirebaseAuth.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/google/firebase/auth/FirebaseAuth.kt b/src/main/java/com/google/firebase/auth/FirebaseAuth.kt index e93972f..666949c 100644 --- a/src/main/java/com/google/firebase/auth/FirebaseAuth.kt +++ b/src/main/java/com/google/firebase/auth/FirebaseAuth.kt @@ -343,7 +343,7 @@ class FirebaseAuth constructor(val app: FirebaseApp) : InternalAuthProvider { client.newCall(request).enqueue(object : Callback { override fun onFailure(call: Call, e: IOException) { - source.setException(FirebaseException(e.toString(), e)) + source.setException(e) } @Throws(IOException::class)