-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Emit event for a relayed message even if the call reverts #587
Copy link
Copy link
Closed
Labels
C-featureCategory: featuresCategory: features
Description
Is your feature request related to a problem? Please describe.
If a relayed message performs a call that fails, the RelayedMessage event is not emitted (only on success). This means that the watcher will not pick up the relayed event. There are many applications I can think of where a user needs to be able to detect if a relayed message failed with the watcher, and this is currently not possible.
Describe the solution you'd like
I can think of a couple methods:
- Add a
successparam to theRelayedMessageevent and emit it in both cases. - Add a
FailedRelayedMessageevent and emit that if the call fails. - Emit
RelayedMessagein both cases with no additional context.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-featureCategory: featuresCategory: features