Skip to content
Snippets Groups Projects
Commit e08f53e3 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Changed text of warnings

parent 40e0db3f
No related branches found
No related tags found
No related merge requests found
......@@ -43,18 +43,18 @@ def verify_server(popup=True):
resp = hit_endpoint('GET', '/')
except Exception as e:
print(e)
msg = 'Could not find server found at ' + uri
msg = 'Could not find server at: ' + uri
IJ.log(msg)
if popup:
IJ.error(msg)
return False
if resp['status'] != 200:
msg = 'Unknown error verifying server at ' + uri
msg = 'Unknown error verifying server at: ' + uri
if popup:
IJ.error(msg)
return False
else:
IJ.log('Verified server is online at ' + uri)
IJ.log('Verified server is online at: ' + uri)
return True
def run_request_sequence(imp, func, params):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment