From 7f50ed2f249cf14bb1ba15a245775d7d1d67c3de Mon Sep 17 00:00:00 2001 From: gdeluna-branch <94577415+gdeluna-branch@users.noreply.github.com> Date: Sat, 14 Oct 2023 00:07:30 -0700 Subject: [PATCH] Update BranchTest.java --- .../src/androidTest/java/io/branch/referral/BranchTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Branch-SDK/src/androidTest/java/io/branch/referral/BranchTest.java b/Branch-SDK/src/androidTest/java/io/branch/referral/BranchTest.java index fc7e16690..1bcf6dd6c 100644 --- a/Branch-SDK/src/androidTest/java/io/branch/referral/BranchTest.java +++ b/Branch-SDK/src/androidTest/java/io/branch/referral/BranchTest.java @@ -109,7 +109,7 @@ public void onInitFinished(@Nullable JSONObject referringParams, @Nullable Branc BranchLogger.v(TAG + " onInitFinished, referringParams: " + referringParams + ", error: " + error + " on thread " + Thread.currentThread().getName()); Assert.assertNotNull(referringParams); if (error != null) { - BranchLogger.v("error is " + error); + BranchLogger.v("error is " + error + " " + error.getErrorCode()); if (error.getErrorCode() != BranchError.ERR_BRANCH_REQ_TIMED_OUT && error.getErrorCode() != BranchError.ERR_BRANCH_NO_CONNECTIVITY) { Assert.fail("error should be null unless we are testing timeouts " + error.errorCode_ + error.getMessage());