bots: Fix test failure for Baremetrics bot.
This commit is contained in:
parent
3cbb16722d
commit
d9fca54998
|
@ -33,7 +33,7 @@ class BaremetricsHandler(object):
|
||||||
test_query_data = test_query_response.json()
|
test_query_data = test_query_response.json()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if test_query_data['error'] == "Unauthorized. Token not found":
|
if test_query_data['error'] == "Unauthorized. Token not found (001)":
|
||||||
bot_handler.quit('API Key not valid. Please see doc.md to find out how to get it.')
|
bot_handler.quit('API Key not valid. Please see doc.md to find out how to get it.')
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue