pulsar-edit / package-backend

Pulsar Server Backend for Packages
https://api.pulsar-edit.dev
MIT License
12 stars 11 forks source link

Use `callStack` everywhere #243

Closed confused-Techie closed 7 months ago

confused-Techie commented 7 months ago

Requirements

Description of the Change

This PR extends #241 by now using this new callStack just about everywhere.

Although with #240 still in review, I made sure not to touch getPackagesPackageName and postPackages as those callStack signatures change through that PR, and I didn't want to create any conflicts.

But in short, all this PR does it make it easier to trace errors occurring on the backend, and for any reported errors, at a glance we can quickly see and read the path that request took through the code, and what failed.