mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-16 20:24:28 +01:00
Reduce use of printStackTrace
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user