fix(editor): Keep the internal cancellation message out of the UI text catalog

Цей коміт міститься в:
l0ng-ai committed 2026-10-28 09:01:45 +08:00
1 джерело 7c09a13afc
коміт 2bf57a8297
1 file changed
+1 -1
+1 -1
Переглянути файл
@@ -28,7 +28,7 @@ export async function lspRequest<T>(run: () => Promise<Result<T>>, wanted?: () =
try {
// Edits typed just before (⌘B right after typing) must reach the server first.
await whenAllSynced();
if (wanted && !wanted()) throw new IpcError({ kind: "cancelled", message: "Cancelled" });
if (wanted && !wanted()) throw new IpcError({ kind: "cancelled", message: "cancelled" });
return await call(run());
} catch (e) {
if (e instanceof IpcError) throw e;