BitGo / api-ts

Type- and runtime- safe TypeScript APIs
https://bitgo.github.io/api-ts
Other
17 stars 21 forks source link

refactor: introduce standardized error messages and stacktraces #869

Closed anshchaturvedi closed 2 months ago

anshchaturvedi commented 2 months ago

This update adds [INFO], [WARN], and [ERROR] prefixes to error messages to make them easier to read and understand during debugging. It also includes stack traces for E.left returns outside of cli.ts to help with troubleshooting.


How logging looks:

image

How errors look:

image

Ticket: DX-660

github-actions[bot] commented 2 months ago

:tada: This PR is included in version @api-ts/openapi-generator@4.29.0 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 months ago

:tada: This PR is included in version @api-ts/io-ts-http@3.2.0 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 months ago

:tada: This PR is included in version @api-ts/express-wrapper@1.0.30 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 months ago

:tada: This PR is included in version @api-ts/superagent-wrapper@1.3.0 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 months ago

:tada: This PR is included in version @api-ts/typed-express-router@1.1.10 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket: