}
} catch (DBusException e) {
logger.error("Dbus client failed", e);
- throw new UnexpectedErrorException("Dbus client failed");
+ throw new UnexpectedErrorException("Dbus client failed", e);
}
while (true) {
try {
ignoreAttachments,
handler);
} catch (IOException e) {
- throw new IOErrorException("Error while receiving messages: " + e.getMessage());
- } catch (InterruptedException ignored) {
+ throw new IOErrorException("Error while receiving messages: " + e.getMessage(), e);
}
}
}