Skip to content

Commit

Permalink
tweaks to the exception report
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Nov 19, 2016
1 parent d3c6e36 commit 43d0c8e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/analyzer_status_reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,13 @@ export class AnalyzerStatusReporter extends Disposable {
}

private reportError(error: ServerErrorNotification) {
// TODO: How to get the VSCode version?
let sdkVersion = getDartSdkVersion(dartSdkRoot);
let dartCodeVersion = extensions.getExtension('DanTup.dart-code').packageJSON.version;

let data = `
Please report the following to https://github.com/dart-lang/sdk/issues/new :
Exception from analysis server (running from [Dart Code](https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code))
Exception from analysis server (running from VSCode / Dart Code)
### What I was doing
Expand All @@ -103,7 +102,7 @@ Exception from analysis server (running from [Dart Code](https://marketplace.vis
${error.message}
\`\`\`text
${error.stackTrace}
${error.stackTrace.trim()}
\`\`\`
`;

Expand Down

0 comments on commit 43d0c8e

Please sign in to comment.