Skip to content

Wrap enqueueOperation in a try-catch#61

Open
lloydmeta wants to merge 1 commit intomonix:masterfrom
lloydmeta:fix/catch-errors-on-enqueue
Open

Wrap enqueueOperation in a try-catch#61
lloydmeta wants to merge 1 commit intomonix:masterfrom
lloydmeta:fix/catch-errors-on-enqueue

Conversation

@lloydmeta
Copy link
Collaborator

Closes #60

  • Move mconn.enqueueOperation into prepareFuture and wrap it in
    try-catch because it can fail. On failure, complete the future
    with a failure, passing it the caught Throwable

  try-catch because it can fail. On failure, complete the future
  with a failure, passing it the caught Throwable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant