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
When there are fields missing from the package meta that is provided during package publish flow, API currently throws 500 error, which ideally should be gracefully handled.
We should catch & respond to this issue while executing the process-package-meta middleware. This would cause an early exit from the flow & also prevent the uploading of the package to the repository.
Issue
When there are fields missing from the package meta that is provided during package publish flow, API currently throws 500 error, which ideally should be gracefully handled.
Point of error
api/source/controllers/package/publish/metadata.js
Line 10 in 522801f
Solution
We should catch & respond to this issue while executing the
process-package-meta
middleware. This would cause an early exit from the flow & also prevent the uploading of the package to the repository.api/source/middleware/process-package-meta.js
Line 21 in 522801f
The text was updated successfully, but these errors were encountered: