Skip to content

No stacktrace on recovered panics #1227

Description

@negrel

We use mokapi extensively for testing our product and we regularly encounter a runtime error: invalid memory address or nil pointer dereference.

There is no associated stack trace so we cannot investigate issue. It would be great to print the stacktrace (using runtime/debug.Stack() along the error on recover().

I can submit a PR, let me know if that's ok for you

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