Spaces:
Build error
Build error
Update static/frontend.js
Browse files- static/frontend.js +1 -1
static/frontend.js
CHANGED
|
@@ -70,7 +70,7 @@
|
|
| 70 |
return predictions.json()
|
| 71 |
} else{
|
| 72 |
document.getElementById("spinner").style.display = 'none';
|
| 73 |
-
let error_msg = "Error, return code" +
|
| 74 |
alert(error_msg);
|
| 75 |
}
|
| 76 |
|
|
|
|
| 70 |
return predictions.json()
|
| 71 |
} else{
|
| 72 |
document.getElementById("spinner").style.display = 'none';
|
| 73 |
+
let error_msg = "Error, return code" + predictions.status
|
| 74 |
alert(error_msg);
|
| 75 |
}
|
| 76 |
|