deepgram-devs / deepgram-node-proxy

MIT License
1 stars 3 forks source link

Error handler syntax/signature error #3

Open myselfhimself opened 2 months ago

myselfhimself commented 2 months ago

Hello,

this line raises errors when raised because response methods cannot be chained this way: https://github.com/deepgram-devs/deepgram-node-proxy/blob/main/index.js#L34

It seems that error handler relies on different types of objects / APIs.

I will contribute a working one.

myselfhimself commented 2 months ago

Here is a related PR https://github.com/deepgram-devs/deepgram-node-proxy/pull/4