arquillian / arquillian-core

Arquillian provides a component model for integration tests, which includes dependency injection and container life cycle management. Instead of managing a runtime in your test, Arquillian brings your test to the runtime.
http://arquillian.org
Apache License 2.0
369 stars 194 forks source link

preserve first exception in writeObject #538

Closed benjamin-confino closed 6 months ago

benjamin-confino commented 7 months ago

Short description of what this resolves:

If response.sendError fails the first exception e will be lost entirely and all the developer will see is the reason why response.sendErrorfailed. A small change will ensure the data from e and e2 are both available when looking at server log files.

Changes proposed in this pull request: