
periodically, i see streams like this coming from matron.
is it adding any value? if not, it'd be great to have a way to filter this out.
assuming these messages should keep going to stderr, it may be easiest (but not best?) to do this in maiden? (cc @ngwese)
dunno.
Ideally we'd fix the cause of these failures, so far not sure what's causing them though :(
See https://github.com/monome/norns-image/issues/43
yeah. not great to just drop them on the floor. on the other hand, it's a bit noisy in the repl and could make folks think there's something up with the device.
i'm fine to just mute these battery warnings for now and open a ticket to investigate.
the code should also handle the fail more gracefully, ie, don't corrupt the previous read.
Where does the repl get these logline from? Does it show all messages sent to stderr?
@simonvanderveldt: i believe so. @ngwese can confirm?
the repl prints whatever ws-wrapper sends. i don鈥檛 remember if it captures both stdout and stderr or just stdout (from matron).
@ngwese : is there any way to know whether we're getting (or sending) stderr? (i'm thinking it would be great to be able to render the output differently.)
EDIT: i'm sure this is a way; i guess i should rephrase and ask for your thoughts on how we _might_ differentiate. looking at ws-wrapper now...
an interesting possible data point regarding the cause of the errors: i've only noticed the errors when my norns has been powered (specifically by my macbook). i don't think i've seen the errors when self-powered...
@pq regarding separation of stderr from stdout in the repl- there鈥檚 only one stream sent over the websocket right now. ws-wrapper would need to change and a simple protocol introduced.
an interesting possible data point regarding the cause of the errors: i've only noticed the errors when my norns has been powered (specifically by my macbook). i don't think i've seen the errors when self-powered...
seeing this correlation again. also fairly certain that the battery is fully charged when it occurs FWIW.
Had this happen today whilst norns was running on mains power, no other connections.