From 23948afae59ed3867fa6b392ebfa30b4fcf80918 Mon Sep 17 00:00:00 2001 From: jomo Date: Tue, 5 Jul 2016 01:04:34 +0200 Subject: [PATCH] =?UTF-8?q?catch=20ExtremelyRare=E2=84=A2=20502=20response?= =?UTF-8?q?=20from=20CloudFront?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit happens occasionally when they can't reach the mojang upstream server --- lib/networking.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/networking.js b/lib/networking.js index e4aa4c9..84fd4af 100644 --- a/lib/networking.js +++ b/lib/networking.js @@ -70,6 +70,7 @@ exp.get_from_options = function(rid, url, options, callback) { break; case 429: // this shouldn't usually happen, but occasionally does case 500: + case 502: // CloudFront can't reach mojang origin case 503: case 504: // we don't want to cache this