-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
❓ QuestionFurther information is requestedFurther information is requested🐛 BugSomething isn't workingSomething isn't working
Description
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
| const { name, version, dependencies, author } = packageMeta |
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.
| const jsonParsedMeta = JSON.parse(packageMeta?.buffer?.toString()) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
❓ QuestionFurther information is requestedFurther information is requested🐛 BugSomething isn't workingSomething isn't working