Skip to content

Commit

Permalink
refactor(language-client): not echo error from outputChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm committed Jun 18, 2019
1 parent dabab89 commit 9bcc35d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/language-client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3419,10 +3419,6 @@ export abstract class BaseLanguageClient {
if (this._clientOptions.revealOutputChannelOn <= level) {
this.outputChannel.show(true)
}
if (type == 'Error' && message.indexOf('UnhandledPromiseRejectionWarning') == -1) {
message = dataString ? message + '\n' + dataString : message
workspace.showMessage(`Error output from ${this.id}: ${message}`, 'error')
}
}

public info(message: string, data?: any): void {
Expand Down

0 comments on commit 9bcc35d

Please sign in to comment.