Versions 280 to 281
Lines 327–339 at 281 (were 327–339 at 280)
327327
329329 * The commonest failures in plain words, with the next step: no credential, a credential the server refuses, and a
330− * server that can't be reached. Anything else is left as it was. `signedIn` is whether the call carried a key or token.
330+ * server that can't be reached. Anything else is left as it was. `sent` names the key or token the call carried, if any.
332−export function plainError(err: unknown, signedIn: boolean, tokenFileUnasked = false): string | undefined {
332+export function plainError(err: unknown, sent: string | undefined, tokenFileUnasked = false): string | undefined {
335− return signedIn
336− ? `The server didn't accept this folder's key: it may be revoked or expired. abso doctor checks it. (${err.message})`
336+ ? `The server didn't accept ${sent}: it may be revoked or expired. abso doctor checks it. (${err.message})`
337337 : `You're not signed in. Run abso login, then abso join <project>.${tokenFileUnasked ? " ~/.abso/token is used only with --token-file." : ""}`;
- MCP
- compare on this site's /mcp
- CLI
- abso diff 280 281 client/src/doctor.ts --json
- JSON
- /christopher/abso-core/compare/280..281?file=client%2Fsrc%2Fdoctor.ts&format=json