Fix js issue

This commit is contained in:
Flavio Copes
2017-04-06 15:06:17 +02:00
parent 4f91d5bb6e
commit 74e950342f
2 changed files with 28 additions and 28 deletions

View File

@@ -30,10 +30,10 @@ export function parseJSON(response) {
let content = document.createElement('div');
content.innerHTML = text;
let error = new Error();
error.stack = trim(content.innerText);
let the_error = new Error();
the_error.stack = trim(content.innerText);
throw error;
throw the_error;
}
return parsed;

File diff suppressed because one or more lines are too long