ptarmiganlabs / ctrl-q

Command line tool for interacting with Qlik Sense Enterprise servers
MIT License
13 stars 2 forks source link

Incorrect log output for `qscloud connection-test` command #535

Open mountaindude opened 3 days ago

mountaindude commented 3 days ago

What version of Ctrl-Q are you using?

4.0.0

What version of Node.js are you using? Not applicable if you use the standalone version of Ctrl-Q.

No response

What command did you use to start Ctrl-Q?

-

What operating system are you using?

Windows Server 2019

What CPU architecture are you using?

x86_64

What Qlik Sense versions are you using?

2024-May IR

Describe the Bug

The tenant name is listed as "unknown":

PS C:\tools\ctrl-q> .\ctrl-q.exe qscloud connection-test `
>>   --tenant-host ....eu.qlikcloud.com `
>>   --apikey "eyJhb..."
2024-11-15T13:32:07.662Z info: -----------------------------------------------------------
2024-11-15T13:32:07.667Z info: | Ctrl-Q
2024-11-15T13:32:07.669Z info: |
2024-11-15T13:32:07.669Z info: | Version      : 4.0.0
2024-11-15T13:32:07.670Z info: | Log level    : info
2024-11-15T13:32:07.670Z info: |
2024-11-15T13:32:07.670Z info: | Command      : connection-test
2024-11-15T13:32:07.670Z info: |              : test connection to Qlik Sense Cloud.
2024-11-15T13:32:07.670Z info: |
2024-11-15T13:32:07.672Z info: | Run Ctrl-Q with the '--help' option to see a list of all available options for this command.
2024-11-15T13:32:07.672Z info: |
2024-11-15T13:32:07.672Z info: | https://github.com/ptarmiganlabs/ctrl-q
2024-11-15T13:32:07.672Z info: ----------------------------------------------------------
2024-11-15T13:32:07.672Z info:
2024-11-15T13:32:07.674Z info: Testing connection to Qlik Sense Cloud tenant "undefined"
2024-11-15T13:32:09.461Z info: Successfully connected to Qlik Sense Cloud tenant "undefined"
2024-11-15T13:32:09.462Z info: Tenant ID  : ...
2024-11-15T13:32:09.462Z info: User ID    : ...
2024-11-15T13:32:09.462Z info: User name  : Göran Sander
2024-11-15T13:32:09.462Z info: User email : ...
2024-11-15T13:32:09.462Z info: User status: active

Expected Behavior

No response

To Reproduce

No response