print error info for database error (#14248)

This commit is contained in:
Aten Jin
2023-06-02 07:45:48 +08:00
committed by GitHub
parent feb0f45d21
commit b09017ca5e
+1 -1
View File
@@ -150,7 +150,7 @@ pub enum Error {
#[error("Transaction pool not ready for block production.")]
TransactionPoolNotReady,
#[error("Database")]
#[error("Database error: {0}")]
DatabaseError(#[from] sp_database::error::DatabaseError),
#[error("Failed to get header for hash {0}")]