Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
.NET profiler improvements & test fixes #2968
.NET profiler improvements & test fixes #2968
Changes from 21 commits
c0009f9
c39d96c
aaba231
00c75de
c3d413a
812874c
f7fbfc0
47c826b
d86affa
0d3576b
fb5c9fd
5e99a61
6c12446
2703013
c5e8513
ce98216
7e87cb5
85c4c33
6d9e927
b4b913e
1924359
ae3eeaf
d84d25e
9367bfc
c99df63
a929523
03b586d
cb2bf9a
7102696
44fec5a
8a75ab3
a826783
cc2a691
853cf1f
1f244f4
7b13d1d
91467a0
12971e3
f2c64b1
be2c18c
ba9a511
1290992
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to observe any exception of this and log? I think right this it'll end up on UnobservedExceptionHandler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's logged below on line 74
I've added a test case
Profiler_ThrowingOnSessionStartup_DoesntBreakSentryInit
to make sure an exception thrown inside profiler session init doesn't break Sentry initThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I don't get it (line 74 is above this). But I mean if the callback running concurrently throws (
eventSource.Process
, if that throws? We canContinuesWith
at the end ofStartNew
for example, or have a callback with a trycatch before we call eentSource.Process?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I get what you mean now. I was confused at first because this bit of code hasn't actually changed so I thought you're talking about sth else.
In case
Process()
throws: yes, I think it'd get handled by UnobservedExceptionHandler.I've added ContinueWith()
This file was deleted.
This file was deleted.