Skip to content

Display chained errors #43

@madig

Description

@madig

I'm trying to make norad cleanly chain errors instead of hoisting the error messages form lower into wrapping error messages. Compare what anyhow does:

Error: Failed to read glyph file from 'C:\...\MutatorSansLightWide.ufo\glyphs\A_.glif'

Caused by:
    0: Failed to read or parse XML file
    1: Expecting </array> found </dict>

vs. ufofmt's

[ERROR] norad read error: C:\...\MutatorSansLightWide.ufo: Failed to read glyph file from 'C:\...\MutatorSansLightWide.ufo\glyphs\A_.glif'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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