SimplyStaking / panic_cosmos

🚨 PANIC for Cosmos
GNU General Public License v3.0
47 stars 36 forks source link

Periodic alive reminder crashes if Redis not set up #25

Closed migueldingli1997 closed 4 years ago

migueldingli1997 commented 4 years ago

The periodic alive reminder crashes if Redis is not set up because it does not check whether or not Redis is enabled. When Redis is not enabled, the Redis object passed around is None. When the periodic alive reminder uses the None object to check whether or not alive messages are muted, it crashes.