You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to using got and am using it to stream an image url and then piping it to response using pipelines.
But on error, I am getting socket hang up.
I am using the following code for the process.
Is it because the writable stream is getting destroyed on error ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I am new to using got and am using it to stream an image url and then piping it to response using pipelines.
But on error, I am getting socket hang up.
I am using the following code for the process.
Is it because the writable stream is getting destroyed on error ?
What can be my options here.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions