From 6fcec33ab639cfc2c98dbdfb49b09419bcd3c5f7 Mon Sep 17 00:00:00 2001 From: AsamK Date: Thu, 23 Dec 2021 13:43:53 +0100 Subject: [PATCH] Add error message when creating sende keys path fails --- .../signal/manager/storage/senderKeys/SenderKeyRecordStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/java/org/asamk/signal/manager/storage/senderKeys/SenderKeyRecordStore.java b/lib/src/main/java/org/asamk/signal/manager/storage/senderKeys/SenderKeyRecordStore.java index 645da0bd..ec5c5a70 100644 --- a/lib/src/main/java/org/asamk/signal/manager/storage/senderKeys/SenderKeyRecordStore.java +++ b/lib/src/main/java/org/asamk/signal/manager/storage/senderKeys/SenderKeyRecordStore.java @@ -181,7 +181,7 @@ public class SenderKeyRecordStore implements org.whispersystems.libsignal.groups try { IOUtils.createPrivateDirectories(senderKeysPath); } catch (IOException e) { - throw new AssertionError("Failed to create sender keys path", e); + throw new AssertionError("Failed to create sender keys path: " + e.getMessage(), e); } return new File(senderKeysPath, key.recipientId().id() + "_" + key.deviceId() + "_" + key.distributionId.toString());