Skip to content

mark NFW from OOP critical#36156

Merged
heejaechang merged 5 commits intodotnet:masterfrom
heejaechang:NFWCritical
Jun 5, 2019
Merged

mark NFW from OOP critical#36156
heejaechang merged 5 commits intodotnet:masterfrom
heejaechang:NFWCritical

Conversation

@heejaechang
Copy link
Copy Markdown
Contributor

@heejaechang heejaechang commented Jun 4, 2019

currently, whenever OOP throws an exception, we show infobar saying "restart VS". whenever that happens, we report NFW. now those NFW will be marked as critical and we will stop reporting NFW after that in VS.

basically making critical NFW behavior same as fatal watson in VS. and management will treat critical NFW same as fatal watson.

also, now we will show callstack like code fix exception when info bar is shown

image

currently, whenever OOP throws an exception, we show infobar saying "restart VS". whenever that happens, we report NFW. now those NFW will be marked as critical and we will stop reporting NFW after that in VS.

basically making critical NFW behavior same as fatal watson in VS. and management will treat critical NFW same as fatal watson.

also, now we will show callstack like code fix exception when info bar is shown
@heejaechang heejaechang requested a review from a team as a code owner June 4, 2019 19:14
@heejaechang
Copy link
Copy Markdown
Contributor Author

@ivanbasov @jinujoseph can you take a look. as we discussed.

/// </summary>
/// <param name="exception">Exception that triggered this non-fatal error</param>
public static void Report(Exception exception)
public static void Report(Exception exception, bool critical = false)
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.

bool critical = false [](start = 55, length = 21)

maybe enum is better

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.

@ivanbasov do you want enum with every thing? or just Critical and None?

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.

I think that we may want the enum on our side to differ from the enum on the Telemetry side. So, we should define the enum for our purposes. Currently, it should contain Critical and None only.

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.

alright. will do!

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.

@ivanbasov done!

Copy link
Copy Markdown
Contributor

@ivanbasov ivanbasov left a comment

Choose a reason for hiding this comment

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

:shipit:

@jinujoseph jinujoseph added this to the 16.2.P3 milestone Jun 4, 2019
@heejaechang heejaechang merged commit 3085171 into dotnet:master Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants