summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2e2900a..2c1608e 100644
--- a/main.go
+++ b/main.go
@@ -227,7 +227,7 @@ func getContentKey(epubRoot fs.FS, userKey []byte) ([]byte, error) {
keyCheck, err := decipher(encryptedKeyCheck, userKey)
if err != nil {
- return nil, fmt.Errorf("error decrypting key check")
+ return nil, fmt.Errorf("error decrypting key check: %w", err)
}
if string(keyCheck) != license.ID {