File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1386,7 +1386,7 @@ export class Upload extends Writable {
13861386
13871387 if ( retryDelay <= 0 ) {
13881388 this . destroy (
1389- formatRetryError ( 'Retry total time limit exceeded' , resp ) ,
1389+ buildRetryError ( 'Retry total time limit exceeded' , resp ) ,
13901390 ) ;
13911391 return ;
13921392 }
@@ -1407,7 +1407,7 @@ export class Upload extends Writable {
14071407 }
14081408 this . numRetries ++ ;
14091409 } else {
1410- this . destroy ( formatRetryError ( 'Retry limit exceeded' , resp ) ) ;
1410+ this . destroy ( buildRetryError ( 'Retry limit exceeded' , resp ) ) ;
14111411 }
14121412 }
14131413
@@ -1452,7 +1452,7 @@ export class Upload extends Writable {
14521452 }
14531453}
14541454
1455- function formatRetryError (
1455+ function buildRetryError (
14561456 prefix : string ,
14571457 resp : Pick < GaxiosResponse , 'data' | 'status' > ,
14581458) : Error {
You can’t perform that action at this time.
0 commit comments