Closed ralphwetzel closed 1 year ago
Hey, not sure what I could do. We are writing to files from time to time so not good to unmount the directory :)
Will not be "fixed".
nrchkb
dir is required for runtime as we are saving data there.
Unfortuantely it is current design, might be changed in the future.
Please do open another issue in case of ... issues.
NRCHKB Plugin Version
1.5.0
Node JS Version
14.21.1
NPM Version
6.14.17
Node-RED Version
3.0.2
Operating System
RPi Bullseye
What happened?
I recently got the following
UnhandledPromiseRejectionWarning
:I guess, this might be due to the situation, that
/home/pi/mnt/node-red/nrchkb
is a mounted directory - which might become disconnected once in a while for whatever reason.nrchkb
currently recovers nicely - yetnode.js
complains that it's going to terminate in the future, if this happens again... 😉:How to reproduce?
Disconnect your
.../nrchkb
directory at runtime...Expected behavior:
Handle the promise correctly; in this case: Don't complain, just retry next time...