- handleTimestampAndSendMessageResults(writer, results.first(), results.second());
- } catch (IOException e) {
- throw new IOErrorException("Failed to send message: " + e.getMessage());
- } catch (AssertionError e) {
- handleAssertionError(e);
- throw e;
- } catch (GroupNotFoundException e) {
- throw new UserErrorException("Failed to send to group: " + e.getMessage());
- } catch (NotAGroupMemberException e) {
- throw new UserErrorException("Failed to send to group: " + e.getMessage());
- } catch (InvalidNumberException e) {
+ writer.println("{}", timestamp);
+ } catch (UnknownObject e) {
+ throw new UserErrorException("Failed to find dbus object, maybe missing the -u flag: " + e.getMessage());
+ } catch (Signal.Error.InvalidNumber e) {