Merge pull request #5464 from taras/tm/techdocs-catch-exception

This commit is contained in:
Himanshu Mishra
2021-04-26 13:15:04 +05:30
committed by GitHub
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/techdocs-common': patch
---
Gracefully handle HTTP request failures in download method of AzureBlobStorage publisher.
@@ -221,7 +221,8 @@ export class AzureBlobStoragePublish implements PublisherBase {
.on('end', () => {
resolve(Buffer.concat(fileStreamChunks));
});
});
})
.catch(reject);
});
}