Hi peeps, I’m trying to create a LogHandler that ships data out UDP, similar to the PaperTrail loghandler at https://github.com/barakwei/ParticlePapertrail. (note – their example also hangs for me)
I can normally send UDP just fine, but if my class extends the LogHandler class, it hangs when I send. I whipped up a tiny example to illustrate.
I’m using an electron with 0.6.1, and can see in logs that it’s booting successfully, connecting to cloud, etc. Anyone have any ideas? Thanks! - Henry
This works fine
The LogHandler doesn’t actually try to send UDP until (millis() > 10000) so you can watch it work briefly, then hang on the first UDP send.