From f3a09d30ea55fd4c4669f18a806bc2fe6c2d6595 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Mon, 30 Jun 2025 11:33:23 +0000
Subject: [PATCH] chore: Update `SignerRequired` error message
Signed-off-by: Awiteb
---
src/error.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/error.rs b/src/error.rs
index 0a884ab..ad57e9a 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -66,7 +66,9 @@ pub enum N34Error {
InvalidNostrAddressFileContent(String),
#[error("This command requires at least one relay, but none were provided")]
EmptyRelays,
- #[error("This command requires a signer to sign events")]
+ #[error(
+ "This command requires a signer to sign events. Use `--secret-key` to provide a signer"
+ )]
SignerRequired,
#[error(
"Invalid repository address. Expected one of these formats:\n- NIP-05 identifier with \