@@ 384-390 (lines=7) @@ | ||
381 | continue; |
|
382 | } |
|
383 | ||
384 | if ($tryCount === self::MAX_RETRY_TIMES - 1) { |
|
385 | return [ |
|
386 | 'code' => $sliceUploading->getLastErrorCode(), |
|
387 | 'message' => $sliceUploading->getLastErrorMessage(), |
|
388 | 'request_id' => $sliceUploading->getRequestId(), |
|
389 | ]; |
|
390 | } |
|
391 | } |
|
392 | ||
393 | if (!$sliceUploading->performUploading()) { |
|
@@ 393-399 (lines=7) @@ | ||
390 | } |
|
391 | } |
|
392 | ||
393 | if (!$sliceUploading->performUploading()) { |
|
394 | return [ |
|
395 | 'code' => $sliceUploading->getLastErrorCode(), |
|
396 | 'message' => $sliceUploading->getLastErrorMessage(), |
|
397 | 'request_id' => $sliceUploading->getRequestId(), |
|
398 | ]; |
|
399 | } |
|
400 | ||
401 | if (!$sliceUploading->finishUploading()) { |
|
402 | return [ |
|
@@ 401-407 (lines=7) @@ | ||
398 | ]; |
|
399 | } |
|
400 | ||
401 | if (!$sliceUploading->finishUploading()) { |
|
402 | return [ |
|
403 | 'code' => $sliceUploading->getLastErrorCode(), |
|
404 | 'message' => $sliceUploading->getLastErrorMessage(), |
|
405 | 'request_id' => $sliceUploading->getRequestId(), |
|
406 | ]; |
|
407 | } |
|
408 | ||
409 | return [ |
|
410 | 'code' => 0, |