You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnreject(newFullstackTestingError(`failed copying from ${podName}:${srcDir}/${srcFile} to ${destPath} to extract file: ${destPath}`,e))
640
645
}
641
-
}catch(e){
642
-
returnreject(newFullstackTestingError(`failed copying from ${podName}:${srcDir}/${srcFile} to ${destPath} to extract file: ${destPath}`,e))
643
-
}
646
+
})
644
647
645
648
returnreject(newFullstackTestingError(`failed copying from ${podName}:${srcDir}/${srcFile} to ${destPath} to download file completely: ${destPath}${additionalErrorMessageDetail}`))
646
649
})
@@ -653,6 +656,7 @@ export class K8 {
653
656
})
654
657
655
658
errStream.on('data',(data)=>{
659
+
this.logger.error(`error encountered copying from ${podName}:${srcDir}/${srcFile} to ${destPath}, error: ${data.toString()}`)
656
660
returnreject(newFullstackTestingError(`error encountered copying from ${podName}:${srcDir}/${srcFile} to ${destPath}, error: ${data.toString()}`))
657
661
})
658
662
@@ -673,12 +677,10 @@ export class K8 {
673
677
})
674
678
675
679
outputFileStream.on('finish',()=>{
676
-
outputFileStream.end()
677
680
this.logger.debug(`stopping copy, writerStream has finished for copying from ${podName}:${srcDir}/${srcFile} to ${destPath}`)
678
681
})
679
682
680
683
outputPassthroughStream.on('finish',()=>{
681
-
outputFileStream.end()
682
684
this.logger.debug(`stopping copy, writerPassthroughStream has finished for copying from ${podName}:${srcDir}/${srcFile} to ${destPath}`)
0 commit comments