Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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