mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-18 22:54:20 +01:00
Print stack trace of exception causes in verbose mode
This commit is contained in:
@@ -75,7 +75,7 @@ public class DaemonCommand implements MultiLocalCommand {
|
||||
}
|
||||
} catch (DBusException | IOException e) {
|
||||
logger.error("Dbus command failed", e);
|
||||
throw new UnexpectedErrorException("Dbus command failed");
|
||||
throw new UnexpectedErrorException("Dbus command failed", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@ public class DaemonCommand implements MultiLocalCommand {
|
||||
signalControl.run();
|
||||
} catch (DBusException | IOException e) {
|
||||
logger.error("Dbus command failed", e);
|
||||
throw new UnexpectedErrorException("Dbus command failed");
|
||||
throw new UnexpectedErrorException("Dbus command failed", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user