From e9bfa94e1838bac946e7bc4c5482e05af5599567 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 19 Aug 2022 10:33:24 -0700 Subject: [PATCH] trypandoc: don't treat 500 as a timeout. --- trypandoc/trypandoc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trypandoc/trypandoc.js b/trypandoc/trypandoc.js index a3a7cfd04..84fe491ca 100644 --- a/trypandoc/trypandoc.js +++ b/trypandoc/trypandoc.js @@ -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);