If Mongo can't successfully authenticate (if mongo requires authentication), RateLimitReport crashes in an inelegant way. This line leads to rate_limits=False. This line expects rate_limits to be an int and doesn't know how to handle a bool.
Not a huge problem since RateLimitReport should fail with bad mongo creds, but it would be nice for the script to fail with a message like STACK's message if mongo creds are bad.
If Mongo can't successfully authenticate (if mongo requires authentication), RateLimitReport crashes in an inelegant way. This line leads to rate_limits=False. This line expects rate_limits to be an int and doesn't know how to handle a bool.
Not a huge problem since RateLimitReport should fail with bad mongo creds, but it would be nice for the script to fail with a message like STACK's message if mongo creds are bad.