Skip to content

[WIP] [BREAKING] More consistent error logging, with code frames etc - #1212

Merged
Rich-Harris merged 6 commits into
masterfrom
gh-545
Jan 3, 2017
Merged

[WIP] [BREAKING] More consistent error logging, with code frames etc#1212
Rich-Harris merged 6 commits into
masterfrom
gh-545

Conversation

@Rich-Harris

Copy link
Copy Markdown
Contributor

This is a follow-up to #1199, which also addresses #545. Rather than using throw willy nilly, it adds a module.error helper which augments error objects with locations and code frames, where appropriate.

Technically a breaking change, though unlikely to be so in practice.

Still to do: update the CLI

@Rich-Harris
Rich-Harris merged commit 219f1f1 into master Jan 3, 2017
@Rich-Harris
Rich-Harris deleted the gh-545 branch January 3, 2017 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant