Skip to content

Commit 36f6fc5

Browse files
committed
handle 503
1 parent 66f8b84 commit 36f6fc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/App.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@ module.exports = {
320320
req.responseType = "arraybuffer";
321321
req.onload = function () {
322322
console.log("S3 test returned: " + req.status);
323+
if (req.status == 503) {
324+
errorCb(Error("Rate Limited Error"));
325+
}
323326
};
324327
req.onerror = function (e) {
325328
console.log('Unable to contact: ' + domain);

0 commit comments

Comments
 (0)