Skip to content
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

fix: add links to .NET Core SDK to publish error #3011

Merged
merged 14 commits into from
May 13, 2020

Conversation

beyackle
Copy link
Contributor

Description

This will detect if a publishing error relates to dotnet, and if so will direct a user to the .NET Core SDK with a download link.

Task Item

closes #2926

Screenshots

image

@beyackle beyackle marked this pull request as ready for review May 12, 2020 20:32
@@ -83,6 +83,7 @@ export const PublishController = {
// set status and return value as json
res.status(results.status).json(response);
} catch (err) {
console.error('Publishing error: ' + err.message);
Copy link
Contributor

Choose a reason for hiding this comment

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

this is not exactly what I meant, since this is just going to say
"failed to run dotnet build"

we can attach to the spawned child process and output the errors it generates to get more detail.

Copy link
Contributor

Choose a reason for hiding this comment

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

the actual exec happens inside the localPublish plugin.

@github-actions
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling ef7ce43 on beyackle/addLinkToPublishError into ebaec7b on master.

@cwhitten cwhitten merged commit bf5847b into master May 13, 2020
@cwhitten cwhitten deleted the beyackle/addLinkToPublishError branch May 13, 2020 17:43
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* add initial link stuff

* add secondary link

* adjust spacing and add console-error to server

* make execSync pass stderror through

* Update publisher.ts

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
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.

3 participants