Skip to content

Commit

Permalink
more descriptive error
Browse files Browse the repository at this point in the history
  • Loading branch information
paspo committed Jan 30, 2024
1 parent cea8403 commit d332376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendezvous_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ impl RendezvousServer {
tmp[..].copy_from_slice(&sk);
out_sk = Some(sign::SecretKey(tmp));
} else {
log::error!("Malformed private key");
log::error!("Malformed private key. You probably have a trailing newline in the secret key file.");
std::process::exit(1);
}
}
Expand Down

0 comments on commit d332376

Please sign in to comment.