DebugAgentEnvironmentPostProcessor throws a RuntimeException with a generic error message if its initialization fails. The causing exception is discarded, which makes error analysis unnecessarily difficult.

Attach the cause to the newly thrown RuntimeExeption.

Comment From: pivotal-issuemaster

@davidbilge Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@davidbilge Thank you for signing the Contributor License Agreement!

Comment From: snicoll

@davidbilge thank you for making your first contribution to Spring Boot.