Skip to content

Commit 6b298b7

Browse files
committed
Adds git response into apply error message
1 parent 46b510f commit 6b298b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commands/stashApply.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ export class StashApplyCommand extends Command {
131131
return window.showInformationMessage(`Stash applied with conflicts`);
132132
}
133133
else {
134-
return Messages.showGenericErrorMessage('Unable to apply stash');
134+
return Messages.showGenericErrorMessage(
135+
`Unable to apply stash \u2014 ${ex.message.trim().replace(/\n+?/g, '; ')}`
136+
);
135137
}
136138
}
137139
}

0 commit comments

Comments
 (0)