Skip to content

[FEATURE] I would like to be able to get more information about an error #19903

@nchamo

Description

@nchamo

Problem Statement

Right now, if you run a nr test and it fails fails, you might get something like this:

[battleships] Testing test::integration::success::combat_wins::test_host_wins_by_sinking_all_ships ... FAIL
Failed calling external resolver. ErrorObject { code: ServerError(-32702), message: "Assertion failed: Failed to get a note", data: None }

The problem is that this log doesn't provide any context regarding what the issue is. It's very hard to debug the issue itself without being at least knowing what action in the contract (or test) generated the error

Proposed Solution

It would be great if the error would include a stacktrace that pointed to what action originated the error

Example Use Case

No response

Alternative Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-feature-requestType: Adding a brand new feature (not to be confused with improving an existing feature).from-communityThis originated from the community :)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions