Skip to content

Add 2 additional error messages #18462

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 5 commits into from
Apr 14, 2025

Conversation

halldk
Copy link
Contributor

@halldk halldk commented Jan 26, 2025

Add additional information to 2 error scenarios when launching a different profile in the ConptyConnection.cpp file.

  • Requires Elevation
  • File Not Found

Created a profile that required elevation and verified the error message. Created profile that passed a made up command and verified the error message. Unable to test CTRL+C case, but included due to issue conversation.

Closes #7186

Add additional information to 3 error senarios when launching a different profile in the ConptyConnection.

  - Requires Elevation
  - CTRL+C
  - Bad Command or File Not Found

closes microsoft#7186
@halldk
Copy link
Contributor Author

halldk commented Jan 26, 2025

@microsoft-github-policy-service agree

@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Task It's a feature request, but it doesn't really need a major design. Area-TerminalConnection Issues pertaining to the terminal<->backend connection interface Product-Terminal The new Windows Terminal. labels Jan 26, 2025

This comment has been minimized.

  - Removed BadCommand text
  - Added FileNotFound text
Copy link

@KalleOlaviNiemitalo KalleOlaviNiemitalo left a comment

Choose a reason for hiding this comment

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

Remove Ctrl+C

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 27, 2025
@halldk halldk changed the title Add 3 additional error messages Add 2 additional error messages Jan 27, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 27, 2025
@halldk
Copy link
Contributor Author

halldk commented Feb 18, 2025

@KalleOlaviNiemitalo are you able to review again? It's been a couple weeks.

Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks! 😊

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Second It's a PR that needs another sign-off label Feb 20, 2025
Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

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

So sorry for the delay. The team has been busy on other projects for a little bit. Thanks for your patience here!

@DHowett
Copy link
Member

DHowett commented Mar 21, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DHowett DHowett enabled auto-merge (squash) March 21, 2025 18:36
@lhecker
Copy link
Member

lhecker commented Apr 14, 2025

It seems this PR fell off our radar. I apologize.

Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! Looks like there were some issues on our end getting this merged, but that should be all good now. 😊

@carlos-zamora
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DHowett DHowett merged commit f7e853c into microsoft:main Apr 14, 2025
16 of 18 checks passed
@halldk halldk deleted the dev/halldk/t/7186-better-conpty-errors branch April 17, 2025 16:40
@github-project-automation github-project-automation bot moved this to To Cherry Pick in 1.23 Servicing Pipeline Apr 21, 2025
@github-project-automation github-project-automation bot moved this to To Cherry Pick in 1.22 Servicing Pipeline Apr 21, 2025
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.22 Servicing Pipeline Apr 21, 2025
DHowett pushed a commit that referenced this pull request Apr 21, 2025
Add additional information to 2 error scenarios when launching a
different profile in the `ConptyConnection.cpp` file.
  - Requires Elevation
  - File Not Found

Created a profile that required elevation and verified the error
message. Created profile that passed a made up command and verified the
error message.

Closes #7186

(cherry picked from commit f7e853c)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgZlxJc
Service-Version: 1.22
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.23 Servicing Pipeline Apr 21, 2025
DHowett pushed a commit that referenced this pull request Apr 21, 2025
Add additional information to 2 error scenarios when launching a
different profile in the `ConptyConnection.cpp` file.
  - Requires Elevation
  - File Not Found

Created a profile that required elevation and verified the error
message. Created profile that passed a made up command and verified the
error message.

Closes #7186

(cherry picked from commit f7e853c)
Service-Card-Id: PVTI_lADOAF3p4s4AxadtzgZlxJY
Service-Version: 1.23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-TerminalConnection Issues pertaining to the terminal<->backend connection interface Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
Status: Cherry Picked
Status: Cherry Picked
Development

Successfully merging this pull request may close these issues.

Show a more descriptive error message when the ConptyConnection fails to start for some reason
6 participants