OAuthSelectorComponent calls its onSelect callback synchronously (no await), but the callback was async — calling showLoginDialog which throws 'Login cancelled' on Escape. The unhandled rejection bubbled up to the uncaughtException handler and crashed GSD. Wrap the async work in a named function with .catch() so cancellation errors are swallowed gracefully. showLoginDialog already handles its own error display internally. |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| modes | ||
| resources/extensions/memory | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||