about summary refs log tree commit diff
path: root/app/javascript/fonts/roboto
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-11-14 21:55:40 +0100
committerGitHub <noreply@github.com>2021-11-14 21:55:40 +0100
commit3517867b7656ff506a04e394fc8c1a855b7d504a (patch)
tree60a068a415e4b6c12fb17208ebc2f46c0ea05994 /app/javascript/fonts/roboto
parent4b616c4f0a2158883034cd756391bd70265b787d (diff)
Fix confusing error when webfinger request returns empty document (#16986)
For some reason, some misconfigured servers return an empty document when
queried over webfinger. Since an empty document does not lead to a parse
error, the error is not caught properly and triggers uncaught exceptions
later on.

This PR fixes that by immediately erroring out with `Webfinger::Error` on
getting an empty response.
Diffstat (limited to 'app/javascript/fonts/roboto')
0 files changed, 0 insertions, 0 deletions