Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4213

Please throw RuntimeException in CloudEventConsumer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0.Final
    • 1.1.0.Final
    • Core Engine
    • None
    • False
    • False
    • Undefined
    • ---
    • ---
    • 2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25), 2021 Week 07-09 (from Feb 15)

      The implementation of this catch block buries the root json exception. Subsequently, its difficult to troubleshoot cloud events that contain a problematic payload. Recommend the following changes :

      • Change log level to error
      • In addition to logging error, throw a RuntimeException

            cnicolai@redhat.com Cristiano Nicolai
            rhn-gps-jbride Jeffrey Bride
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: