Catch msql error and show in dojo tracker status

This commit is contained in:
Taylor Helsper 2021-01-22 23:26:46 -06:00
parent 52ba2e766b
commit 867ff9a08f

View File

@ -63,6 +63,9 @@ def get_dojo_tracker_status():
elif "Processing active Mempool" in line:
tracker_status = "Active"
break
elif "ER_ACCESS_DENIED_ERROR" in line:
tracker_status = "MYSQL Connection Error"
break
return tracker_status
def get_dojo_version():