console.warn rather than alert

This commit is contained in:
Michael Droettboom 2018-04-17 14:49:06 -04:00
parent 2a1a5b722e
commit 3de466023a
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ var languagePluginLoader = new Promise((resolve, reject) => {
if (wasmXHR.status === 200 || wasmXHR.status === 0) {
Module.wasmBinary = wasmXHR.response;
} else {
alert(`Couldn't download the pyodide.asm.wasm binary. Response was ${wasmXHR.status}`);
console.warn(
`Couldn't download the pyodide.asm.wasm binary. Response was ${wasmXHR.status}`);
reject();
}