pretty print stats dict on error
This commit is contained in:
parent
7e17db53fe
commit
71b88a91ac
@ -44,7 +44,7 @@ if __name__ == "__main__":
|
||||
print ("temp out of whack")
|
||||
if bad_checks >= bad_check_limit:
|
||||
print("ERR sending alert")
|
||||
msg = "error kiln needs help. %s" % stats
|
||||
msg = "error kiln needs help. %s" % json.dumps(stats,indent=2, sort_keys=True)
|
||||
send_alert(msg)
|
||||
bad_checks = 0
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user