Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-1356

Improve error handling when a pubsub event can't be published

    XMLWordPrintable

Details

    • Tech Debt
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 23.0.0
    • None
    • EPAM-Veg Sprint 128
    • 1
    • Vega
    • Lotus R1 2022

    Description

      1. When pubsub responds with error code 400 Bad Request, mod-circulation fails with 500 Server Error. This is fine, but it should also have an error message describing what happened.
      2. This creates misleading logs, needs to be fixed:
        logger.error("Failed to publish event. ID: {}, type: {}, payload: {}", throwable,
        event.getId(), event.getEventType(), event.getEventPayload());

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Yusuf Yusuf Murodov
                oleksandrkurash Alexander Kurash
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases