Skip to content

Display chained errors #43

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions