Skip to content

Commit 0548e57

Browse files
committed
dont wrap in a FirebaseException as this is called internally and expects the original exception
1 parent 5fd9650 commit 0548e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/google/firebase/auth/FirebaseAuth.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ class FirebaseAuth constructor(val app: FirebaseApp) : InternalAuthProvider {
343343
client.newCall(request).enqueue(object : Callback {
344344

345345
override fun onFailure(call: Call, e: IOException) {
346-
source.setException(FirebaseException(e.toString(), e))
346+
source.setException(e)
347347
}
348348

349349
@Throws(IOException::class)

0 commit comments

Comments
 (0)