Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2879

JTS before_completion in SynchronizationImple swallows and hides exceptions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.5.7.Final, 5.6.0.Final
    • None
    • JTS
    • 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)
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: