[VSCE-157] Allow Link Formatting via Markdown in System Errors

This commit is contained in:
Colin Young
2025-10-07 18:47:49 -07:00
parent abd517091f
commit 0fc0137720
9 changed files with 159 additions and 21 deletions

View File

@@ -157,7 +157,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
fn process_event(&mut self, event: Event) -> CodexStatus {
let Event { id: _, msg } = event;
match msg {
EventMsg::Error(ErrorEvent { message }) => {
EventMsg::Error(ErrorEvent { message, .. }) => {
let prefix = "ERROR:".style(self.red);
ts_msg!(self, "{prefix} {message}");
}