mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-26 02:24:21 +01:00
Rename error field in json receive response to exception
This commit is contained in:
@@ -25,7 +25,7 @@ public class JsonReceiveMessageHandler implements Manager.ReceiveMessageHandler
|
||||
final var object = new HashMap<String, Object>();
|
||||
object.put("account", m.getSelfNumber());
|
||||
if (exception != null) {
|
||||
object.put("error", JsonError.from(exception));
|
||||
object.put("exception", JsonError.from(exception));
|
||||
}
|
||||
|
||||
if (envelope != null) {
|
||||
|
||||
Reference in New Issue
Block a user