Silently fail if rate limit is hit and ahsn't been hit before
This commit is contained in:
		| @@ -139,6 +139,7 @@ public class LDGithub { | ||||
|                     if (line.contains("rate limit") && !DisguiseConfig.isHittingRateLimit()) { | ||||
|                         DisguiseConfig.setHittingRateLimit(true); | ||||
|                         DisguiseUtilities.getLogger().severe("Changed update checker to be every 36 hours due to rate limiting from this IP"); | ||||
|                         return null; | ||||
|                     } | ||||
|                 } catch (Exception ex1) { | ||||
|                     DisguiseUtilities.getLogger().severe("Error when trying to read error stream! Inception!"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user