Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong kind of value returned from append_to_stream #23

Open
norpan opened this issue Feb 15, 2019 · 1 comment
Open

wrong kind of value returned from append_to_stream #23

norpan opened this issue Feb 15, 2019 · 1 comment
Labels

Comments

@norpan
Copy link
Contributor

norpan commented Feb 15, 2019

I get the following error. It seems that append_to_stream returns an error triple, but only error tuples are allowed.

** (WithClauseError) no with clause matching: {:error, :CommitTimeout, %Extreme.Msg.WriteEventsCompleted{commit_position: 0, first_event_number: -2147483648, last_event_number: -2147483648, message: "Commit phase timeout.", prepare_position: -2147483648, result: :CommitTimeout}}
    (commanded) lib/commanded/aggregates/aggregate.ex:458: Commanded.Aggregates.Aggregate.persist_events/4
    (commanded) lib/commanded/aggregates/aggregate.ex:433: Commanded.Aggregates.Aggregate.execute_command/2
    (commanded) lib/commanded/aggregates/aggregate.ex:192: Commanded.Aggregates.Aggregate.handle_call/3
    (stdlib) gen_server.erl:661: :gen_server.try_handle_call/4
    (stdlib) gen_server.erl:690: :gen_server.handle_msg/6
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
@dvxam
Copy link

dvxam commented May 15, 2024

I've got the same issue here, no sure how it should be solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants