RaynorUE / snich

Application for code work on a ServiceNow Instance
22 stars 4 forks source link

Test Connection failed. Uknown Error. View logs for detail. #205

Closed hrax closed 3 years ago

hrax commented 3 years ago

Describe the bug Testing connection to the instance. Test returns "Test Connection failed. Uknown Error. View logs for detail." Unfortunately there are no logs even when logging for SNICH is turned to debug level.

Expected behavior Expect to see logs with the error in the Output section in the VSCode

Desktop (please complete the following information):

RaynorUE commented 3 years ago

Hey there, thanks for reporting this! The logs it is referring to are the Developer tool > logs for VSCode. You can view them by...

  1. Along top menu items > Help > Toggle Developer Tools (CTRL+SHIFT+i on windows)
  2. Once open, if not pre-selected choose the "Console" option along the top
  3. The logs / errors will be in there.

image

Also!

RaynorUE commented 3 years ago

Oh also, on the subject of Errors going to the Output view/Section ... working on a pretty huge re-write of SNICH in the "Canary" Branch (There is also a Canary version on the marketplace that has a lot of updates over current live/prod version if you want to check it out).... which in this rewrite one of my plans is to use the Output section a bit more and "force show it" when errors/failures occur.

hrax commented 3 years ago

Hi Raynor,

Thank you for the pointing me to the right direction. I will use the logs to debug issues I am experiencing and if needed I will try to raise a new bug ticket.

I will try to have a look on the canary build as well, hopefully that may contain fixes for issues I am experiencing.