Node-red crushes every time when I disconnect SDA or SCL from I2C device. It's very inconvenient, maybe somebody knows how to receive an error instead of a full system crash?
20 Oct 17:26:53 - Error: EREMOTEIO: remote I/O error, write
at Object.fs.writeSync (fs.js:735:20)
at Bus.i2cWriteSync (/home/pi/.node-red/node_modules/i2c-bus/i2c-bus.js:348:13)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Unit entered failed state.
nodered.service: Failed with result 'exit-code'.
nodered.service: Service hold-off time over, scheduling restart.
Stopped Node-RED graphical event wiring tool.