Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Log errors when racer cannot be started (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
KalitaAlexey authored Jun 2, 2017
1 parent e05e66b commit 6940183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/completion/completion_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ export class CompletionManager {
const logger = this.logger.createChildLogger('initialStart: ');
const pathToRacer: string | undefined = this.configuration.getPathToRacer();
if (!pathToRacer) {
logger.createChildLogger('racer is not installed');
logger.debug('racer is not installed');
return;
}
const isSourceCodeAvailable: boolean = this.ensureSourceCodeIsAvailable();
if (!isSourceCodeAvailable) {
logger.createChildLogger('Rust\'s source is not installed');
logger.debug('Rust\'s source is not installed');
return;
}
this.start(pathToRacer);
Expand Down

0 comments on commit 6940183

Please sign in to comment.