Skip to content

adding null check in KillProcess task#54

Merged
HongGit merged 1 commit intomasterfrom
dev_fixissue52
Sep 4, 2018
Merged

adding null check in KillProcess task#54
HongGit merged 1 commit intomasterfrom
dev_fixissue52

Conversation

@Jinhuafei
Copy link
Copy Markdown
Contributor

This is to address the issue #52

catch (Exception ex)
{
Log.LogErrorFromException(ex);
Log.LogWarning(ex.Message);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why switching this to warning from error? Isn't this suppose to be exception message?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Error will cause build failure, while warning not necessarily will. The code here is to reduce the chance of copying Roslyn bits failure. If there is any exception, just log a warning which may not cause build failure.

@HongGit HongGit merged commit 1de1b31 into master Sep 4, 2018
@StephenMolloy StephenMolloy deleted the dev_fixissue52 branch July 8, 2020 21:50
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