Closed brianmay closed 2 years ago
I actually find looking for things in node-red documentation difficult. So this may not be correct.
node.err()
or node.error()
? Where is this function documented?I noticed this code, which I just changed also, I imagine this would result in a similar error loop. It probably should not be an error.
if (circles.length == 0) {
throw new Error("No circles in your Life360.");
}
Now testing... But not seeing any errors. Might have to somehow fake a server error if no real server errors.
WRT auth errors, it's probably fine. There was a special character issue in one person's password awhile back where it may have been helpful to have that feedback (instead of it silently not working).
I am going to close this in favour of #10. But if #10 has unexpected problems, feel free to reopen.
Fixes #8
Notes:
Possibly we should somehow distinguish different errors, and call
node.debug(...)
on the 5xx errors.