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

Hide stack trace when throwing exception #344

Merged
merged 1 commit into from Dec 13, 2022
Merged

Hide stack trace when throwing exception #344

merged 1 commit into from Dec 13, 2022

Conversation

bmish
Copy link
Owner

@bmish bmish commented Dec 13, 2022

Caught this bug with https://typescript-eslint.io/rules/no-floating-promises/

The try-catch wasn't working before.

We don't need to show the entire stack trace to end-users, just the error message from the exception.

@bmish bmish added the bug Something isn't working label Dec 13, 2022
@bmish bmish merged commit 259f9ae into main Dec 13, 2022
@bmish bmish deleted the hide-stack-trace branch December 13, 2022 19:52
bmish added a commit that referenced this pull request Dec 14, 2022
* main:
  Better variable name for rule details (#346)
  chore(deps-dev): bump @types/node from 18.11.10 to 18.11.13 (#337)
  chore(deps): bump @typescript-eslint/utils from 5.46.0 to 5.46.1 (#340)
  chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.46.0 to 5.46.1 (#341)
  chore(deps-dev): bump eslint from 8.28.0 to 8.29.0 (#338)
  Hide stack trace when throwing exception (#344)
  Move users section in readme (#343)
  Add table of contents to readme (#342)
  Add table documenting types of notices and columns (#336)
  chore(deps-dev): bump @typescript-eslint/parser from 5.45.0 to 5.46.1
  chore(deps-dev): bump release-it from 15.5.0 to 15.5.1
  Switch to renamed @release-it-plugins/lerna-changelog dev-dependency (#335)
  chore(deps-dev): bump @typescript-eslint/eslint-plugin
  Improve comments for emoji definitions (#333)
  Mention complementary rule `eslint-plugin/require-meta-docs-url` (#332)
  chore(deps-dev): bump eslint-plugin-square from 23.1.2 to 23.1.3 (#331)
  chore(deps): bump @typescript-eslint/utils from 5.45.0 to 5.45.1
  chore(deps-dev): bump @types/jest from 29.2.3 to 29.2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants