Skip to content

Calling Console.error with Object containing circular references breaks Site #105

@JavaScriptDude

Description

@JavaScriptDude

If you have this extension enabled and call console.error with an object that has circular references, JSON.stringify() call in window.console.error will fail with 'cyclic object value' Error.

This error condition will break the code that called console.error causing it to stop.

The fix is easy, put in error handling around your custom window.console.error code.

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