Skip to content

Fixed error message when unable to generate a token#1

Open
anthonymoralez wants to merge 1 commit into
Esri:hg/defaultfrom
anthonymoralez:hg/default
Open

Fixed error message when unable to generate a token#1
anthonymoralez wants to merge 1 commit into
Esri:hg/defaultfrom
anthonymoralez:hg/default

Conversation

@anthonymoralez
Copy link
Copy Markdown

When using any of the command line tools if you specify an invalid server URL, e.g. -s http://host:6080/arcis the error message given is:
Error connecting to REST services http://host:6080/arcis/rest/services/: __init__() takes exactly 6 arguments (2 given)
Now it the message is:
Error connecting to REST services http://host:6080/arcis/rest/services/: HTTP Error 401: Could not create token using URL http://host:6080/arcis/rest/services/

Instead of the reason being __init__ expected 6 arguments but got 2, it is now a more legible message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants