log response

This commit is contained in:
Trym Lund Flogard 2021-06-02 18:28:35 +02:00
parent 03e2a736d6
commit 77a901b885

View File

@ -153,10 +153,11 @@ export class NextcloudClient {
const remoteFilePath = path.join(remoteFileDir, `${this.artifact}.zip`);
const stream = fsSync.createReadStream(file);
await this.davClient.putFileContents(remoteFilePath, stream, {
const res = await this.davClient.putFileContents(remoteFilePath, stream, {
onUploadProgress: p => core.debug(`Progress: ${p.loaded}/${p.total}`),
});
core.debug(`Upload status: ${res}`);
return remoteFilePath;
}