Skip to content

ArangoError throws when converted to JSON #632

@neerajyadav

Description

@neerajyadav

If we try to JSON.stringify() the ArangoJsError it throws cyclic error.

Converting circular structure to JSON
    at JSON.stringify (<anonymous>)

This is either due to http-request or http-response objects included in the error thrown. One of them have self reference. Many of the logger frameworks uses JSON.stringify() method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestRequest for new functionality to be added to the driver.fixedIssue has been resolved but remains open due to a pending release.semver-minorThis issue does not require any backwards-incompatible changes to address.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions