Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved error handling in send method
* when a message is successfully sent, signal-cli returns a timestamp, which we convert to an integer. in case, we, for some reason can't convert the timestamp to an integer, it means that signal-cli returned some non-numeric characters as well (which is a strong indication that there was an error). So, instead of returning the parsing error, return the actual signal-cli error message. see #412
- Loading branch information