Skip to content

Commit 47a2c1d

Browse files
committed
Adds more logging
1 parent 3be1094 commit 47a2c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git/shell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export function runCommand(command: string, args: any[], options: CommandOptions
136136
reject(new Error(`Command output exceeded the allocated stdout buffer. Set 'options.maxBuffer' to a larger value than ${opts.maxBuffer} bytes`));
137137
}
138138

139-
Logger.warn(`Error(${command} ${args.join(' ')}): (${err.code}) ${stderr}`);
139+
Logger.warn(`Error(${opts.cwd}): ${command} ${args.join(' ')})\n (${err.code}) ${err.message}\n${stderr}`);
140140
reject(err);
141141
}
142142
);

0 commit comments

Comments
 (0)