Versions 14 to 15
Lines 424–436 at 15 (were 424–429 at 14)
427+ // A server from before attachments has no upload route: it answers 404, or 400 because the body isn't JSON;
428+ // one with the route but nowhere to keep files answers 501. Say so plainly, and that nothing was sent.
429+ if (res.status === 404 || res.status === 501 || (res.status === 400 && /the body is JSON/.test(text)))
431+ `${this.issuesServer} doesn't take attachments yet, so ${name} wasn't sent and nothing was written. Leave --attach off, or link the image instead.`,
427434 if (!res.ok) throw new ApiError(`uploading ${name} answered ${res.status}: ${errorSentence(text)}`, res.status);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 14 15 client/src/api.ts --json
- JSON
- /christopher/abso-core/compare/14..15?file=client%2Fsrc%2Fapi.ts&format=json