Skip to content

Ensure Logs are Flushed on Panics #923

@pleshakov

Description

@pleshakov

As a user of NGF
I want to ensure that I get the log output that leads up to a NGF panic
So that I can report the issue on NGF's GitHub as an issue and it can be fixed.

Acceptance

  • Implement a mechanism to catch panic log output.

Ensure no logs are lost when panicking. More context -- https://github.com/uber-go/zap/blob/master/FAQ.md#why-include-dedicated-panic-and-fatal-log-levels

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogCurrently unprioritized work. May change with user feedback or as the product progresses.enhancementNew feature or request

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions