]> cat aescling's git repositories - mastodon.git/commit
Fix OCR failure when erroneous lang data is in cache (#16386)
authorClaire <claire.github-309c@sitedethib.com>
Tue, 15 Jun 2021 20:11:07 +0000 (22:11 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 20:11:07 +0000 (22:11 +0200)
commit8428faa0859d86c97950084658498a2c25e26f15
tree2e8fc546b94289e63e8a2c0454a8a25a5b67e7b9
parentee91c8a3a16a81e36965006a5e168db4f4b5d454
Fix OCR failure when erroneous lang data is in cache (#16386)

Fixes #15472

If the Tesseract worker fails at any point, re-try with cache settings that
overwrite the cache. It is difficult to catch more precise errors as those
are pretty opaque and do not occur when loading lang data but when trying to
detect text.
app/javascript/mastodon/features/ui/components/focal_point_modal.js