trypandoc: don't treat 500 as a timeout.

This commit is contained in:
John MacFarlane 2022-08-19 10:33:24 -07:00
parent 3e54004415
commit e9bfa94e18

View file

@ -52,7 +52,7 @@ function paramsFromURL() {
}
function handleErrors(response) {
if (response.status == 503 || response.status == 500) {
if (response.status == 503) {
throw Error("Conversion timed out.")
} else if (!response.ok) {
throw Error(response.statusText);