Skip to content

Commit

Permalink
Tweak message a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit committed Apr 24, 2024
1 parent 8a11574 commit 0db37af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/lsp/tsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4260,12 +4260,12 @@ impl TscRuntime {
if tc_scope.has_caught() && !tc_scope.has_terminated() {
if let Some(stack_trace) = tc_scope.stack_trace() {
lsp_warn!(
"Error during TSC request {method} tsc runtime stack:\n\t{}",
"Error during TS request \"{method}\":\n {}",
stack_trace.to_rust_string_lossy(tc_scope),
);
} else {
lsp_warn!(
"Error during TSC request {method} tsc runtime:\n\t{}",
"Error during TS request \"{method}\":\n {}",
tc_scope
.exception()
.map(|exc| exc.to_rust_string_lossy(tc_scope))
Expand Down

0 comments on commit 0db37af

Please sign in to comment.