elastic / elastic/apm-agent-java

Implement net.bytebuddy.asm.Advice.ExceptionHandler to log exceptions in agent log

Open
#841 3 comments 0 reactions 1 assignee Claimed by @eyalkoren View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.