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

chore(lsp): Print out stack trace if exception occurs in TS request #23543

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

nathanwhit
Copy link
Member

@nathanwhit nathanwhit commented Apr 24, 2024

Before this PR, there would just be an uninformative "Error occurred" message, after this PR you'll get a stack trace in the LSP output window like this:

Error during TS request "$getSupportedCodeFixes":
  Error: i threw an exception
    at serverRequest (ext:deno_tsc/99_main_compiler.js:1089:11)

cli/lsp/tsc.rs Outdated Show resolved Hide resolved
@nathanwhit nathanwhit enabled auto-merge (squash) April 24, 2024 19:44
@nathanwhit nathanwhit merged commit a6c2472 into denoland:main Apr 24, 2024
17 checks passed
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.

None yet

2 participants