Merge pull request #5464 from taras/tm/techdocs-catch-exception
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user