Skip to content

Uncaught error #79

@jwr

Description

@jwr

I log client errors server-side. After adding JSPrintManager, logs are filled with

Uncaught exception : Event type='error' (target: WebSocket, currentTarget: WebSocket) | {"isTrusted" true, "type" "error", "target" #object[WebSocket [object WebSocket]], "currentTarget" #object[WebSocket [object WebSocket]]}

logged every second for every client.

I can't pinpoint the exact cause, but I am sure JSPrintManager is to blame, as setting auto_reconnect to false makes the errors disappear. Also, the errors appear only if JSPrintManager client app is not installed or not running.

This seems related to #39.

Please make sure errors are caught and handled, otherwise this causes problems down the road. With server-side logging of client errors, and thousands of clients, this quickly grows into a huge issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions