elastic / elastic/apm-agent-java
Implement net.bytebuddy.asm.Advice.ExceptionHandler to log exceptions in agent log
Open
diagnostics
logging
technical-debt
- Dominant language
- Java
- Stars
- 594
- Forks
- 338
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 25
Description
Currently, we are using `net.bytebuddy.asm.Advice.ExceptionHandler.Default#PRINTING` which means the exceptions may not be in the agent logs. We should create a custom `net.bytebuddy.asm.Advice.ExceptionHandler` which logs the exception with the agent logger.
If possible make that generic enough so that we can contribute that to Byte Buddy
Contributor guide
Assessment
This issue has not been assessed yet.