Emit error on outer instead of md
Emit error on outer instead of md

This allows the user to attach an error handler to the outer stream and intercept this error

Otherwise by default it will crash the server

dominictarr/mux-demux