Skip to content

Unacceptable errors should be handled instead of directly log.Fatal() #872

@JQWong7

Description

@JQWong7

Feature Request

Is your feature request related to a problem? Please describe:

user will get confuse since exit suddently.
such as:

if count1+count2 != count {
log.Fatal("the count is not correct",
zap.Int64("count1", count1),
zap.Int64("count2", count2),
zap.Int64("count", count))
}

Describe the feature you'd like:

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions