Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate when exceptions are caught but ignored #3354

Closed
plroebuck opened this issue Apr 25, 2018 · 0 comments
Closed

Annotate when exceptions are caught but ignored #3354

plroebuck opened this issue Apr 25, 2018 · 0 comments
Labels
type: cleanup a refactor

Comments

@plroebuck
Copy link
Contributor

Description

There's an existing convention of naming intentionally ignored errors in try/catch as ignore. Modify codebase to follow it.

plroebuck added a commit to plroebuck/mocha that referenced this issue Apr 26, 2018
There's an existing convertion to name intentionally ignored errors in catch block as `ignore`.
Modified codebase to follow it.

Fixes mochajs#3354
@outsideris outsideris added the type: cleanup a refactor label Apr 27, 2018
boneskull pushed a commit that referenced this issue May 1, 2018
* style(*various*): Annotate when exceptions are caught but ignored

There's an existing convertion to name intentionally ignored errors in catch block as `ignore`.
Modified codebase to follow it.

Fixes #3354

* style(bin/options.js): Turn off prettier for single line

Prettier reformatting is just wrong here. fs.readFileSync() should **not** be split across multiple
lines.

* Revert "style(bin/options.js): Turn off prettier for single line"

This reverts commit eb034dd.

* style(bin/options.js): Revert un-Prettier comment per Boneskull's request
boneskull pushed a commit that referenced this issue May 4, 2018
* style(*various*): Annotate when exceptions are caught but ignored

There's an existing convertion to name intentionally ignored errors in catch block as `ignore`.
Modified codebase to follow it.

Fixes #3354

* style(bin/options.js): Turn off prettier for single line

Prettier reformatting is just wrong here. fs.readFileSync() should **not** be split across multiple
lines.

* Revert "style(bin/options.js): Turn off prettier for single line"

This reverts commit eb034dd.

* style(bin/options.js): Revert un-Prettier comment per Boneskull's request
boneskull pushed a commit that referenced this issue May 18, 2018
* style(*various*): Annotate when exceptions are caught but ignored

There's an existing convertion to name intentionally ignored errors in catch block as `ignore`.
Modified codebase to follow it.

Fixes #3354

* style(bin/options.js): Turn off prettier for single line

Prettier reformatting is just wrong here. fs.readFileSync() should **not** be split across multiple
lines.

* Revert "style(bin/options.js): Turn off prettier for single line"

This reverts commit eb034dd.

* style(bin/options.js): Revert un-Prettier comment per Boneskull's request
sgilroy pushed a commit to TwineHealth/mocha that referenced this issue Feb 27, 2019
…ochajs#3356)

* style(*various*): Annotate when exceptions are caught but ignored

There's an existing convertion to name intentionally ignored errors in catch block as `ignore`.
Modified codebase to follow it.

Fixes mochajs#3354

* style(bin/options.js): Turn off prettier for single line

Prettier reformatting is just wrong here. fs.readFileSync() should **not** be split across multiple
lines.

* Revert "style(bin/options.js): Turn off prettier for single line"

This reverts commit eb034dd.

* style(bin/options.js): Revert un-Prettier comment per Boneskull's request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: cleanup a refactor
Projects
None yet
Development

No branches or pull requests

2 participants