phax / phase4

phase4 - AS4 client and server for integration into existing systems. Specific support for Peppol and CEF eDelivery built-in.
Apache License 2.0
154 stars 47 forks source link

For an inbound message, replace internal server error stack trace with an EBMS error message #52

Closed amishregmi closed 3 years ago

amishregmi commented 3 years ago

Currently, if we have some internal server failures, the stack trace is returned as the response. This might expose sensitive information and does not look like a standard message. Would be great if internal server errors are converted to an EBMS error message response, or if the responses can be intercepted and customized.

phax commented 3 years ago

Hi @amishregmi do you eventually have an example response that you can share with me? Either here or by email? Thx

phax commented 3 years ago

This would be part of the 1.3.2 release - feel free to test the latest SNAPSHOT, if it suits your needs now. Basically I am catching exceptions closer to the source, and converting to an Error.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.