Skip to content

Commit

Permalink
log internals (#22493)
Browse files Browse the repository at this point in the history
(cherry picked from commit eca8d21)
  • Loading branch information
carllin authored and mergify-bot committed Jan 14, 2022
1 parent 5d3f3bc commit 43b53f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ledger/src/blockstore_processor.rs
Expand Up @@ -417,22 +417,22 @@ fn process_entries_with_callback(

#[derive(Error, Debug)]
pub enum BlockstoreProcessorError {
#[error("failed to load entries")]
#[error("failed to load entries, error: {0}")]
FailedToLoadEntries(#[from] BlockstoreError),

#[error("failed to load meta")]
FailedToLoadMeta,

#[error("invalid block")]
#[error("invalid block error: {0}")]
InvalidBlock(#[from] BlockError),

#[error("invalid transaction")]
#[error("invalid transaction error: {0}")]
InvalidTransaction(#[from] TransactionError),

#[error("no valid forks found")]
NoValidForksFound,

#[error("invalid hard fork")]
#[error("invalid hard fork slot {0}")]
InvalidHardFork(Slot),

#[error("root bank with mismatched capitalization at {0}")]
Expand Down

0 comments on commit 43b53f7

Please sign in to comment.