Skip to content

Options to handle exception when notifying bitbucket #274

Description

@muchnik

So we are heading with some network problems, that results in SocketException on notifying bitbucket and we can't really do anything about it, because notifyBitbucket() method always returns true and catches exception by itself.

What i suggest is to:

  1. Implement retries on notify for retryable errors
  2. Propagate actual job status (true or false) from method call, so clients can make retries themselves.
  3. Add option that enables exception propagation to client side
14:35:47 Notifying Stash at "<...>"
14:35:51 Caught exception while notifying Stash with id <...>
14:35:51 java.net.SocketException: Connection reset

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions