mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Reduce use of printStackTrace
This commit is contained in:
parent
4e8f0a41c7
commit
e61f587bfc
4 changed files with 19 additions and 15 deletions
|
@ -948,7 +948,7 @@ public class DbusManagerImpl implements Manager {
|
|||
};
|
||||
connection.addSigHandler(Signal.SyncMessageReceivedV2.class, signal, this.dbusSyncHandler);
|
||||
} catch (DBusException e) {
|
||||
e.printStackTrace();
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
signal.subscribeReceive();
|
||||
}
|
||||
|
@ -968,7 +968,7 @@ public class DbusManagerImpl implements Manager {
|
|||
connection.removeSigHandler(Signal.ReceiptReceivedV2.class, signal, this.dbusRcptHandler);
|
||||
connection.removeSigHandler(Signal.SyncMessageReceivedV2.class, signal, this.dbusSyncHandler);
|
||||
} catch (DBusException e) {
|
||||
e.printStackTrace();
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue