Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3035

[Wish] Log Stacktrace alongside ERROR to Console

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M7
    • 2.0.0-RC3
    • None
    • None

    Description

      I have an issue with a (kind of) swallowed exception. IsisInteraction.executeInternal stumbles over an

      org.springframework.dao.IncorrectResultSizeDataAccessException: More than one result was returned from Query.getSingleResult(); nested exception is javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()

      The (Wicket) UI shows:

      [object not found]: object not found (incorrect result size data access exception): More than one result was returned from Query.getSingleResult() 
      

      Console shows:

      2022-05-03 12:08:07.051 ERROR 22432 — [nio-8080-exec-4] o.a.i.c.i.s.IsisInteraction : failed to execute an interaction
      

       
      I would prefer to have the stacktrace logged to console as well.

      c.f. https://the-asf.slack.com/archives/CFC42LWBV/p1651573266998419

      Attachments

        Issue Links

          Activity

            People

              danhaywood Daniel Keir Haywood
              joerg.rade Jörg Rade
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: