瀏覽代碼

Adds more logging

main
Eric Amodio 6 年之前
父節點
當前提交
47a2c1d7d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/git/shell.ts

+ 1
- 1
src/git/shell.ts 查看文件

@ -136,7 +136,7 @@ export function runCommand(command: string, args: any[], options: CommandOptions
reject(new Error(`Command output exceeded the allocated stdout buffer. Set 'options.maxBuffer' to a larger value than ${opts.maxBuffer} bytes`));
}
Logger.warn(`Error(${command} ${args.join(' ')}): (${err.code}) ${stderr}`);
Logger.warn(`Error(${opts.cwd}): ${command} ${args.join(' ')})\n (${err.code}) ${err.message}\n${stderr}`);
reject(err);
}
);

Loading…
取消
儲存