Skip to content
Snippets Groups Projects
Commit 10e2cddf authored by garciadeblas's avatar garciadeblas
Browse files

Add additional instructions to set OSM_HOSTNAME in case of ClientException


Change-Id: I7b303737e0b7a19e442f84d80544384abee3671b
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent e3d5ba17
No related branches found
No related tags found
No related merge requests found
......@@ -369,6 +369,9 @@ def cli():
)
except ClientException as exc:
print("ERROR: {}".format(exc))
print(
'Maybe "--hostname" option or OSM_HOSTNAME environment variable needs to be specified'
)
except (FileNotFoundError, PermissionError) as exc:
print("Cannot open file: {}".format(exc))
except yaml.YAMLError as exc:
......
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