Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Output dependency installation failures to an output channel #210

Merged
merged 4 commits into from
Feb 21, 2020

Conversation

eishan05
Copy link
Contributor

@eishan05 eishan05 commented Feb 19, 2020

Description:

This is a fix for issue #157 . When dependency installation from the first-run prompt popup fails, the error log is not shown to the user. With this change, the error log is output to the "Installation Error" output channel in the VS code window, so the user can debug installation issues and get started with the extension quicker.

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Testing:

  • Deliberately run an incorrect command in the installPythonDependencies method to ensure that the failed command run is being logged to the output channel.

Checklist:

  • My code follows the style guidelines of this project
  • My code has been formatted with npm run format and passes the checks in npm run check
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@msftclas
Copy link

msftclas commented Feb 19, 2020

CLA assistant check
All CLA requirements met.

Copy link
Contributor

@vandyliu vandyliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 👯‍♂

Copy link
Contributor

@xnkevinnguyen xnkevinnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@nasadigital nasadigital left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

@vandyliu
Copy link
Contributor

/AzurePipelines run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@vandyliu
Copy link
Contributor

/AzurePipelines run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@vandyliu vandyliu merged commit 532d196 into microsoft:dev Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants