Skip to content

Commit

Permalink
Add warning log when the timeout is reached
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmanzanera authored and Neylix committed Jun 9, 2023
1 parent b02dfa0 commit 3c2d9a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/archethic/beacon_chain/subset.ex
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ defmodule Archethic.BeaconChain.Subset do
network_patches

_ ->
Logger.warning("Build network patches takes more than #{network_patches_timeout} ms", beacon_subset: Base.encode16(subset))
[]
end

Expand Down

0 comments on commit 3c2d9a5

Please sign in to comment.