Skip to content

Server-side client error tracking #151

@crazy2be

Description

@crazy2be

We should have something that keeps track of errors (or at least tries to) that happen on clients so we know if things are broken.

I'm thinking something like

window.onerror = function () { ...[current code here] ...
    post('/client-error-report', {
        message: e.message,
        userAgent: [...]
    });
};

And the server can just dump it to a log file (for now, at least). Later we can do processing on it if there's lots of errors.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions