title: After upgrading spring boot from 2.5.4 to 2.6.7, stack traces vanish
body: <p>after migrating an application from spring-boot 2.5.4 to 2.6.7 the detailed stacktraces in my application log dissapeared:</p>
  <p>This is the code build with 2.5.4:</p>
  <pre><code>2022-05-18 08:05:25.742 ERROR 15748 --- [s-clearing-p2-1] d.i.clearing.api.p2.ClearBorderoAsync    : org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: de.idslogistik.ipbackend.db.c03.dom.C3VerSendungDOM.hwts, could not initialize proxy - no Session
  
  org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: de.idslogistik.ipbackend.db.c03.dom.C3VerSendungDOM.hwts, could not initialize proxy - no Session
          at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:606)
          at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:218)
          at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:585)
          at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:149)
          at org.hibernate.collection.internal.PersistentSet.iterator(PersistentSet.java:188)
  ...
  </code></pre>
  <p>With 2.6.7 i only get the following oneliner:</p>
  <pre><code>2022-05-18 09:48:17.570 ERROR 3676 --- [s-clearing-p2-1] d.i.clearing.api.p2.ClearBorderoAsync    : org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: de.idslogistik.ipbackend.db.c03.dom.C3VerSendungDOM.hwts, could not initialize proxy - no Session
  ...
  </code></pre>
  <p>The Exception itself is okay (and already found and fixed). However, i lack the stacktrace.</p>