Skip to content

fix: correct gRPC transport error message and parameter validation #1013

Description

@malladinagarjuna2

Two small defects in GrpcTransport:

  • subscribeToTask reported failures as "Failed to subscribe task push
    notification config", describing the wrong operation. The message was
    carried over from the old resubscribe method and renamed without being
    corrected.
  • getTaskPushNotificationConfiguration hand-rolled a null check that
    throws a raw IllegalArgumentException. The check is unreachable —
    GetTaskPushNotificationConfigParams already rejects a null id in its
    compact constructor — and the codebase uses Assert.checkNotNullParam
    for this.

No behaviour change on the happy path.

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