Skip to content
This repository was archived by the owner on Jan 10, 2019. It is now read-only.
This repository was archived by the owner on Jan 10, 2019. It is now read-only.

Exceptions ignored when using send_async with exponential_retry tasks #100

@curzonj

Description

@curzonj

Due to

https://github.com/aws/aws-flow-ruby/blob/master/aws-flow/lib/aws/decider/generic_client.rb#L100
https://github.com/aws/aws-flow-ruby/blob/master/aws-flow/lib/aws/decider/activity.rb#L107
https://github.com/aws/aws-flow-ruby/blob/master/aws-flow/lib/aws/decider/generic_client.rb#L149

If you try to use send_async on a task configured for exponential_retry, if it still fails after retry, the error will be swallowed and your error_handler won't see any exceptions. This doesn't happen if you call the activity synchronously.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions