Skip to content

Commit 37e8d4b

Browse files
committed
pass ex as cause
1 parent 6426472 commit 37e8d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth0/src/main/java/com/auth0/android/authentication/storage/SecureCredentialsManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ public class SecureCredentialsManager @VisibleForTesting(otherwise = VisibleForT
551551
try {
552552
bridgeCredentials = gson.fromJson(json, OptionalCredentials::class.java)
553553
} catch (ex: NullPointerException) {
554-
callback.onFailure(CredentialsManagerException("Credentials could not be retrieved."))
554+
callback.onFailure(CredentialsManagerException("Credentials could not be retrieved.", ex))
555555
decryptCallback = null
556556
return@execute
557557
}

0 commit comments

Comments
 (0)