Skip to content

Commit 93c5bb6

Browse files
jescaladakriswest
andauthored
Update src/proxy/processors/push-action/preReceive.ts
Co-authored-by: Kris West <kristopher.west@natwest.com> Signed-off-by: Juan Escalada <97265671+jescalada@users.noreply.github.com>
1 parent b2126db commit 93c5bb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/proxy/processors/push-action/preReceive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const exec = async (
9090
return action;
9191
} catch (error: unknown) {
9292
const msg = getErrorMessage(error);
93-
const stdErrSuffix = stderrTrimmed ? `\n${stderrTrimmed}` : '';
93+
const stdErrSuffix = stderrTrimmed ? `\nHook stderr: ${stderrTrimmed}` : '';
9494
step.error = true;
9595
step.log('Push failed, pre-receive hook returned an error.');
9696
step.setError(`Hook execution error: ${msg}${stdErrSuffix}`);

0 commit comments

Comments
 (0)