improve error msg
This commit is contained in:
parent
547bdcb786
commit
4f5e5f6b00
|
@ -331,7 +331,7 @@ def send_snapshot_to_devicehub(snapshot, token, url):
|
||||||
print(response_text)
|
print(response_text)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"workbench: ERROR: Snapshot not remotely sent. URL '{url}' is unreachable. Do you have internet? Is your server up & running?\n {e}")
|
print(f"workbench: ERROR: Snapshot not remotely sent to URL '{url}'. Do you have internet? Is your server up & running? Is the url token authorized?\n {e}")
|
||||||
|
|
||||||
def load_config(config_file="settings.ini"):
|
def load_config(config_file="settings.ini"):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue