acme: Make acme logs more verbose

This commit is contained in:
Nicholas Rempel 2022-02-15 12:02:57 -08:00 committed by Nick Rempel
parent 8b8ade0cb3
commit faa660a6d1
1 changed files with 6 additions and 6 deletions

View File

@ -10,17 +10,17 @@ use thiserror::Error;
#[derive(Debug, Error)] #[derive(Debug, Error)]
pub enum Error { pub enum Error {
#[error("API error")] #[error("API error: {0}")]
Api(#[from] Problem), Api(#[from] Problem),
#[error("base64 decoding failed")] #[error("base64 decoding failed: {0}")]
Base64(#[from] base64::DecodeError), Base64(#[from] base64::DecodeError),
#[error("cryptographic operation failed")] #[error("cryptographic operation failed: {0}")]
Crypto(#[from] ring::error::Unspecified), Crypto(#[from] ring::error::Unspecified),
#[error("invalid key bytes")] #[error("invalid key bytes: {0}")]
CryptoKey(#[from] ring::error::KeyRejected), CryptoKey(#[from] ring::error::KeyRejected),
#[error("HTTP request failure")] #[error("HTTP request failure: {0}")]
Http(#[from] reqwest::Error), Http(#[from] reqwest::Error),
#[error("failed to (de)serialize JSON")] #[error("failed to (de)serialize JSON: {0}")]
Json(#[from] serde_json::Error), Json(#[from] serde_json::Error),
#[error("missing data: {0}")] #[error("missing data: {0}")]
Str(&'static str), Str(&'static str),