dd-sdk-android icon indicating copy to clipboard operation
dd-sdk-android copied to clipboard

Support custom attributes and tags for crashes

Open maxirosson opened this issue 3 years ago • 4 comments

We should be able to configure custom attributes and tags for crashes.

We could set a kind of builder to the exception handler, so tags and attributes can be defined by the SDK clients:

public interface CrashBuilder {
    fun buildTags(thread: Thread, throwable: Throwable): List<String>
    fun buildAttributes(thread: Thread, throwable: Throwable): Map<String, Any?>
}

maxirosson avatar Jun 03 '21 22:06 maxirosson