mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Add debug log when reading message from stdin
This commit is contained in:
parent
cb346fdec4
commit
c3a9022bec
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ public class SendCommand implements JsonRpcLocalCommand {
|
||||||
|
|
||||||
var messageText = ns.getString("message");
|
var messageText = ns.getString("message");
|
||||||
if (messageText == null) {
|
if (messageText == null) {
|
||||||
|
logger.debug("Reading message from stdin...");
|
||||||
try {
|
try {
|
||||||
messageText = IOUtils.readAll(System.in, Charset.defaultCharset());
|
messageText = IOUtils.readAll(System.in, Charset.defaultCharset());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue