mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
Add debug log when reading message from stdin
This commit is contained in:
1 parent
cb346fdec4
commit
c3a9022bec
1 file changed
+1
@@ -104,6 +104,7 @@ public class SendCommand implements JsonRpcLocalCommand {
|
||||
|
||||
var messageText = ns.getString("message");
|
||||
if (messageText == null) {
|
||||
logger.debug("Reading message from stdin...");
|
||||
try {
|
||||
messageText = IOUtils.readAll(System.in, Charset.defaultCharset());
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in new issue
Block a user