Fixes #2 - Adds better error logging

This commit is contained in:
Eric Amodio
2016-09-14 02:28:20 -04:00
parent 87215850b7
commit e0cf335811
4 changed files with 20 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ export default class GitProvider extends Disposable {
reset = !!reset;
if (this._blames.delete(fileName.toLowerCase())) {
console.log(`GitProvider._clearBlame(${fileName}, ${reset})`);
console.log('[GitLens]', `Clear blame cache: fileName=${fileName}, reset=${reset})`);
if (reset) {
// TODO: Killing the code lens provider is too drastic -- makes the editor jump around, need to figure out how to trigger a refresh