Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10213

JTS before_completion in SynchronizationImple swallows and hides exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR17
    • 7.1.0.DR16
    • Transactions
    • None

      In SynchronizationImple, if the user's synchronization fails, the exception is swallowed and never logged. Instead a descriptionless UNKNOWN is thrown.

      The exception should at least be logged to aid in troubleshooting.

      Later in the same file, after_completion is using e.printStackTrace() to log the stack, which is also less than ideal.

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: