Don't update Minecraft player list on error
This commit is contained in:
parent
93fac195ae
commit
32eeebaf00
|
@ -86,7 +86,6 @@ def check_minecraft_server():
|
|||
cache.set('minecraft_players', players)
|
||||
return players
|
||||
except BaseException as e:
|
||||
cache.set('minecraft_players', [])
|
||||
logger.error('Problem checking Minecraft: {} - {}'.format(e.__class__.__name__, str(e)))
|
||||
|
||||
return []
|
||||
|
|
Loading…
Reference in New Issue
Block a user