Skip to content

Commit

Permalink
log close() errors (for #37541)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Nov 14, 2017
1 parent eba8a99 commit b3648bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/services/files/node/fileService.ts
Expand Up @@ -372,7 +372,7 @@ export class FileService implements IFileService {
decoder.end();
}
if (fd) {
fs.close(fd, err => { });
fs.close(fd, err => this.options.errorLogger(err.toString()));
}
};

Expand Down

0 comments on commit b3648bd

Please sign in to comment.