Skip to content

Commit

Permalink
rpcdaemon: demote log in ots_searchTransactions* (#2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
canepat authored Feb 25, 2025
1 parent 686ebfc commit caad845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions silkworm/rpc/commands/ots_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ Task<void> OtsRpcApi::handle_ots_search_transactions_before(const nlohmann::json

if (page_size > kMaxPageSize) {
auto error_msg = "max allowed page size: " + std::to_string(kMaxPageSize);
SILK_ERROR << error_msg;
SILK_DEBUG << error_msg;
reply = make_json_error(request, kServerError, error_msg);
co_return;
}
Expand Down Expand Up @@ -796,7 +796,7 @@ Task<void> OtsRpcApi::handle_ots_search_transactions_after(const nlohmann::json&

if (page_size > kMaxPageSize) {
auto error_msg = "max allowed page size: " + std::to_string(kMaxPageSize);
SILK_ERROR << error_msg;
SILK_DEBUG << error_msg;
reply = make_json_error(request, kServerError, error_msg);
co_return;
}
Expand Down

0 comments on commit caad845

Please sign in to comment.