Catch msql error and show in dojo tracker status
This commit is contained in:
parent
52ba2e766b
commit
867ff9a08f
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue
Block a user