Issue description
https://github.com/SocketSomeone/cent.js/blob/961e3836116757e3f0a9cd244184ebce947d3f81/src/cent.client.ts#L24,30
The original error details are hidden because the res?.error is converted to [object Object].
Code sample
https://github.com/SocketSomeone/cent.js/blob/961e3836116757e3f0a9cd244184ebce947d3f81/src/cent.client.ts#L24
The original error details are hidden because the `res?.error` is converted to `[object Object]`.
Node.js version
24.14.0
Operating system
MacOS
Priority this issue should have
Medium (should be fixed soon)
Issue description
https://github.com/SocketSomeone/cent.js/blob/961e3836116757e3f0a9cd244184ebce947d3f81/src/cent.client.ts#L24,30
The original error details are hidden because the
res?.erroris converted to[object Object].Code sample
Node.js version
24.14.0
Operating system
MacOS
Priority this issue should have
Medium (should be fixed soon)