Azure / Azure/api-management-developer-portal
Npm run publish step eats exception
- Dominant language
- TypeScript
- Stars
- 545
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
In Npm run publish command, if there is any error while publishing, code only logs it and eats exception by returning null. The code is part of node_module @paperbits/core, so we have no control over the code.
For example, mediaPublisher.ts and pagePublisher.ts are the publishing modules where exceptions are getting eaten up.

So if somehow during publishing, some error happens, Npm command doesn't treat it as error.
Can it be suggested how we can achieve treatment of errors happening during publishing be reported as error so that necessary action can be taken.
**Our use case is as follows**:
- We are self hosting the developer portal.
- The issue comes when we try to publish a content where the download(blob) url is incorrect.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.