Skip to content

Remove user-friendly (formatted) error messages #492

Description

@maksym-iv-ef

Mermin is capable of producing user-friendly error messages like:

example error
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Error
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

internal error: failed to open host network namespace: Permission denied (os error 13) - requires hostPID: true in pod spec

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

For more information, run with: --log-level debug
Documentation: https://github.com/elastiflow/mermin

Whilst those are helpful whilst being read from the CLI, it may be a bit trickier when using centralized logging (especially without multiline handling configured)

Image

Following the existing single-line format should be more helpful for the user

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions