Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(GUI): don't ignore any
robot
message from the CLI (#1026)
We recently sent a PR to handle multiple buffered IPC messages being reported as a single message, confusing `JSON.parse()` in `lib/shared/child-writer/index.js`, by only sending the last message, and ignoring the rest, under the assumption that the loss of some state messages is not critical for the application and the writing process to work property. As @lurch pointed out, however, a buffer set of messages might contain an error object somewhere, and by ignoring all but the last message, we ignore any error that happened in the way. See: #898 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
- Loading branch information