You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Command is dispatched to a Router it's not been registered with, the dispatch fails with {:error, :unregistered_command} but a Telemetry span is not created.
Is this intended or should I create an issue and fix? Proposal would be a span with error status.
(It seems we should be invoking [:commanded, :application, :dispatch], set :error and perhaps attaching an event since it's logging in that case)
If a Command is dispatched to a Router it's not been registered with, the dispatch fails with
{:error, :unregistered_command}
but a Telemetry span is not created.Is this intended or should I create an issue and fix? Proposal would be a span with error status.
(It seems we should be invoking [:commanded, :application, :dispatch], set :error and perhaps attaching an event since it's logging in that case)
When Command is not registered with Router
commanded/lib/commanded/commands/router.ex
Line 589 in 8ae9581
Normal dispatch
commanded/lib/commanded/commands/dispatcher.ex
Line 49 in 897d153
The text was updated successfully, but these errors were encountered: