mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Rename error field in json receive response to exception
This commit is contained in:
parent
3f582e9c2e
commit
7261129609
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ public class JsonReceiveMessageHandler implements Manager.ReceiveMessageHandler
|
||||||
final var object = new HashMap<String, Object>();
|
final var object = new HashMap<String, Object>();
|
||||||
object.put("account", m.getSelfNumber());
|
object.put("account", m.getSelfNumber());
|
||||||
if (exception != null) {
|
if (exception != null) {
|
||||||
object.put("error", JsonError.from(exception));
|
object.put("exception", JsonError.from(exception));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (envelope != null) {
|
if (envelope != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue