I expect it the return as a message, but instead it throws an error:
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice.
seems like in proxy-durable.js/catchErrors the body is being used already, therefore i'm getting a 500 response
I'm returning from my durable object's function a response:
handleRequest:
worker.js:
I expect it the return as a message, but instead it throws an error:
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice.
seems like in
proxy-durable.js/catchErrors
the body is being used already, therefore i'm getting a 500 response