iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.38k stars 1.83k forks source link

[Bug] Missing warning / error message for broken captcha #3647

Closed PrivacyDevel closed 1 month ago

PrivacyDevel commented 1 year ago

Describe the bug When the rsvg-convert command can't be found (indicating that the librsvg2-bin package isn't installed in Debian's case), the registration captcha image fails to be loaded / generated without any kind of warning or error messages getting logged that tells the user what's wrong.

Steps to Reproduce

  1. Install Invidious without installing the package that provides rsvg-convert
  2. Enable registration
  3. Create account
  4. See broken clock captcha image with the source url "data:image/png;base64,"
  5. Time to troubleshoot without errors or warnings