captbaritone / captbaritone/urlmeme

Serve an image on error

Open
#28 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
127
Forks
17
PR merge metrics
No merged PRs in 30d

Description

I broke images yesterday (deleted the cache directory in addition to its contents when I tried to free up some disk space on the server). They were returning 500 which was probably confusing for any place that they are embedded.

We should catch errors thrown in the image generation path and return a special 500 image if it fails.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the image generation path and trace how errors are currently returned to the requester. The work is done when generation failures return a special 500 image instead of an unhandled 500 response, including failures caused by a missing cache directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.