Skip to content

Errors and output written during profile loading don't show in host #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented May 17, 2017

This change causes both errors and object output to be written to the
host when profiles are being loaded. Users who had issues in their
profile scripts thought that the scripts weren't being loaded when in
fact there were errors not being displayed. Also, users using
Write-Output in their profile scripts did not see that output. This
change makes the PSES host consistent with the PowerShell ConsoleHost,
writing both forms of output when loading profile scripts.

Resolves PowerShell/vscode-powershell#689
Resolves PowerShell/vscode-powershell#663

This change causes both errors and object output to be written to the
host when profiles are being loaded.  Users who had issues in their
profile scripts thought that the scripts weren't being loaded when in
fact there were errors not being displayed.  Also, users using
Write-Output in their profile scripts did not see that output.  This
change makes the PSES host consistent with the PowerShell ConsoleHost,
writing both forms of output when loading profile scripts.

Resolves PowerShell/vscode-powershell#689
Resolves PowerShell/vscode-powershell#663
@daviwil daviwil modified the milestone: 1.1.0 May 17, 2017
@daviwil daviwil merged commit 8bce076 into PowerShell:develop May 17, 2017
@daviwil daviwil deleted the profile-output branch May 17, 2017 14:27
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