Sequence Not Found error is not sent back to MQTT RPC Client
- Dominant language
- Elixir
- Stars
- 1.2k
- Forks
- 286
- PR merge metrics
- No merged PRs in 30d
Description
Was playing around with the **`farmbot-js`** package today and noticed that `{:error, "sequence not found"}` cases aren't handled and just display on the FBOS Console log ( via `stderr` ? ) instead of being bundled up and returned to the the RPC Client as other errors are, so my JS program just quietly hangs ⏲️ . . .
There's an argument, I suppose, that I should enumerate all Sequences and check that the desired Sequence Id is available before trying to schedule it for execution, but the race condition there still exists ! ( that sequence can be deleted before I try to schedule it )
Here's the error splashed onto the IEx console 🙁

Contributor guide
Assessment
This issue has not been assessed yet.