print error info for database error (#14248)

This commit is contained in:
Aten Jin authored and GitHub committed 2023-06-02 00:45:48 +01:00
1 parent feb0f45d21
commit b09017ca5e
1 file changed
+1 -1
+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}")]