Skip to content

Commit

Permalink
chore: update DuplicateHandlerError for visual appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshultz committed Feb 23, 2024
1 parent 1c478d3 commit b9b36c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion silverback/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ def on_(

if self.get_event_handler(container.contract.address, container.abi.name, input_filter):
raise DuplicateHandlerError(
f"event {container.contract.address}:{container.abi.name}:{input_filter}"
f"event {container.contract.address}:{container.abi.name}"
f"({input_filter.filter_inputs if input_filter else ''})"
)

key = container.contract.address
Expand Down

0 comments on commit b9b36c3

Please sign in to comment.