File tree Expand file tree Collapse file tree 3 files changed +532
-543
lines changed
main/java/com/google/firebase/storage
test/java/com/google/firebase/storage Expand file tree Collapse file tree 3 files changed +532
-543
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ private static boolean isResultSuccess(int resultCode) {
127127 static String getErrorMessageForCode (int errorCode ) {
128128 switch (errorCode ) {
129129 case ERROR_UNKNOWN :
130+ System .out .println ("Error code: " + errorCode );
130131 return "An unknown error occurred, please check the HTTP result code and inner "
131132 + "exception for server response." ;
132133 case ERROR_OBJECT_NOT_FOUND :
@@ -150,6 +151,7 @@ static String getErrorMessageForCode(int errorCode) {
150151 case ERROR_CANCELED :
151152 return "The operation was cancelled." ;
152153 default :
154+ System .out .println ("Error code: " + errorCode );
153155 return "An unknown error occurred, please check the HTTP result code and inner "
154156 + "exception for server response." ;
155157 }
Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ private boolean shouldContinue() {
343343 // we attempt to recover by calling recoverStatus(true)
344344 if (inErrorState ) {
345345 if (currentTime > deadLine || !recoverStatus (true )) {
346+ System .out .println ("Deadline reached!" );
346347 if (serverStateValid ()) {
347348 tryChangeState (INTERNAL_STATE_FAILURE , false );
348349 }
You can’t perform that action at this time.
0 commit comments