Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GRPC middleware for panic-recovery must add dbg.Stack() to error message #9319

Description

@AskAlexSharov

Today got panic inside some grpc method and it returned nil pointer error without any context. Let's improve it by adding dbg.Stack() - example: https://github.com/ledgerwatch/erigon/pull/9318/files#diff-c18c739797e433dc21c760fa148578d47c02b3ea5db8bd99f8424422ccc68e0eR464

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions