Stream.asyncPush possibly swallowing errors

I'm wondering if this is a small bug or if I'm missing something... I am using Stream.asyncPush to make a stream from a Socket.makeWebSocket connection that retries automatically. I have it set up so that when the stream's buffer overflows, it should yield a BufferOverflowError, which could be caught by the consumer.

However, the wsStream value does not have a BufferOverflowError in its error channel, it seems to be swallowed.

Here is a playgound: https://effect.website/play#7abd3cc5075b
Was this page helpful?