Commit bd755ab
Improve Mastodon image upload failure handling
When image uploads to Mastodon fail (e.g., due to API errors or timeouts),
convert markdown image syntax  to a more readable "alt: url" format
instead of leaving raw markdown code in the toot.
This makes failed image uploads more user-friendly while still preserving
the image URL for users to click and view.
Co-Authored-By: Claudia Sonnet 4.5 <noreply@anthropic.com>1 parent f320e38 commit bd755ab
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
| |||
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| 319 | + | |
318 | 320 | | |
319 | 321 | | |
320 | 322 | | |
| |||
359 | 361 | | |
360 | 362 | | |
361 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
362 | 381 | | |
363 | 382 | | |
364 | 383 | | |
| |||
0 commit comments