mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
Debug panel fixes (#297804)
This commit is contained in:
@@ -197,13 +197,14 @@ export class ExtHostChatDebug extends Disposable implements ExtHostChatDebugShap
|
||||
};
|
||||
}
|
||||
default: {
|
||||
// Final fallback: treat as generic
|
||||
const generic = event as vscode.ChatDebugGenericEvent;
|
||||
const rawName = generic.name;
|
||||
const rawDetails = generic.details;
|
||||
return {
|
||||
...base,
|
||||
kind: 'generic',
|
||||
name: generic.name ?? '',
|
||||
details: generic.details,
|
||||
name: typeof rawName === 'string' ? rawName : '',
|
||||
details: typeof rawDetails === 'string' ? rawDetails : undefined,
|
||||
level: generic.level ?? 1,
|
||||
category: generic.category,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user