Skip to content
This repository was archived by the owner on Jul 4, 2023. It is now read-only.
This repository was archived by the owner on Jul 4, 2023. It is now read-only.

Add error event listener to all pages which records client-side issues #65

@shah

Description

@shah

Add the following to all pages:

document.addEventListener('error', (e) => {
    // serialize e and send it to Prometheus or other metrics logger
}, true)

For Markdown, add onerror for img and other elements as HTML is generated using customize() method.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions