Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update client/rpc-api/src/author/error.rs
  • Loading branch information
bkchr authored Jun 9, 2020
commit 6f153c56adc9b683f2f49b88a08cc1d6e9e3ee09
2 changes: 1 addition & 1 deletion client/rpc-api/src/author/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl From<Error> for rpc::Error {
Error::Pool(PoolError::InvalidTransaction(InvalidTransaction::Custom(e))) => rpc::Error {
code: rpc::ErrorCode::ServerError(POOL_INVALID_TX),
message: "Invalid Transaction".into(),
data: Some(e.into()),
data: Some(format!("Custom error: {}", e)),
},
Error::Pool(PoolError::InvalidTransaction(e)) => {
let msg: &str = e.into();
Expand Down