Ensure errors from the stream target are captured and reported