Skip to content

Commit

Permalink
fix: log called API names at entrypoint (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
86667 authored Jan 15, 2025
1 parent 7c6a8c1 commit 026c32a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zilliqa/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ macro_rules! declare_module {
.build();
module
.register_method($name, move |params, context, _| {
tracing::trace!("{}: params: {:?}", $name, params);
if !enabled {
return Err(jsonrpsee::types::ErrorObject::owned(
jsonrpsee::types::error::ErrorCode::InvalidRequest.code(),
Expand Down

0 comments on commit 026c32a

Please sign in to comment.