trypandoc: don't treat 500 as a timeout.
This commit is contained in:
parent
3e54004415
commit
e9bfa94e18
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue