Removing stack in failed rebases

This commit is contained in:
2025-02-08 14:47:30 +01:00
parent cc4439ef1b
commit 6bc610e67f
2 changed files with 37 additions and 4 deletions

2
app.ts
View File

@@ -190,7 +190,7 @@ const rebaseBranch = async ({
onBranch
]).catch(async error => {
writeConsole(`Failed to rebase ${ branch } on ${ onBranch }`, LogLevel.WARNING);
writeConsole(error, LogLevel.WARNING)
writeConsole(error?.message, LogLevel.WARNING) // Using message to not show the stack
await runGitCommand([
"rebase",
"--abort"