MILAB-3485: pl-deployments: local: better errors#965
Conversation
|
Important Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services. |
🦋 Changeset detectedLatest commit: c792fcd The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
db16770 to
c792fcd
Compare
There was a problem hiding this comment.
Bug: Error Handling Breaks Debugging and Upstream Processing
The catch block now throws a new Error instead of rethrowing the original error. This discards the original error's stack trace, type, and custom properties, making debugging significantly harder as the stack trace points to the catch block. It also breaks upstream error handling expecting specific error types.
lib/node/pl-deployments/src/local/trace.ts#L26-L29
platforma/lib/node/pl-deployments/src/local/trace.ts
Lines 26 to 29 in c792fcd
Was this report helpful? Give feedback by reacting with 👍 or 👎
No description provided.