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

JTS before_completion in SynchronizationImple swallows and hides exceptions

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ochaloup@redhat.com Ondrej Chaloupka
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: