more tracing cleanup
This commit is contained in:
parent
a0b256cbd2
commit
ffef36dafe
@ -252,7 +252,7 @@ impl Web3ProxyError {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
Self::Contract(err) => {
|
Self::Contract(err) => {
|
||||||
warn!("Contract Error: {:#?}", err);
|
warn!(?err, "Contract Error");
|
||||||
(
|
(
|
||||||
StatusCode::INTERNAL_SERVER_ERROR,
|
StatusCode::INTERNAL_SERVER_ERROR,
|
||||||
JsonRpcErrorData {
|
JsonRpcErrorData {
|
||||||
@ -263,7 +263,7 @@ impl Web3ProxyError {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
Self::Database(err) => {
|
Self::Database(err) => {
|
||||||
error!("database err={:#?}", err);
|
error!(?err, "database err");
|
||||||
(
|
(
|
||||||
StatusCode::INTERNAL_SERVER_ERROR,
|
StatusCode::INTERNAL_SERVER_ERROR,
|
||||||
JsonRpcErrorData {
|
JsonRpcErrorData {
|
||||||
@ -274,7 +274,7 @@ impl Web3ProxyError {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
Self::Decimal(err) => {
|
Self::Decimal(err) => {
|
||||||
debug!("Decimal Error: {:#?}", err);
|
debug!(?err, "Decimal Error");
|
||||||
(
|
(
|
||||||
StatusCode::BAD_REQUEST,
|
StatusCode::BAD_REQUEST,
|
||||||
JsonRpcErrorData {
|
JsonRpcErrorData {
|
||||||
|
Loading…
Reference in New Issue
Block a user