-
-
Notifications
You must be signed in to change notification settings - Fork 120
Error level and extra on messages with new Capture API. #109
Comments
@jmalczak The new |
@jmalczak You were correct, |
Also tags are missed. Here the sample with old approach which works fine, and similar code for Capture method which doesn't work (tried only 2.0 release)
|
@mogikanin The Can you please test with the latest pre-release and if it doesn't work, either point out why it isn't working or submit a pull request with a failing test? |
@asbjornu Latest pre-release works fine. |
@mogikanin Excellent! How does it work for you, @jmalczak? |
Sorry guys. I have decided to use obsolete api for now, so I couldn't check if issue have been fixed. Since @mogikanin confirms it works fine. Feel free to close issue. Thanks! |
@jmalczak Ok, I hope the problem is fixed even though you haven't had the opportunity to test it yet. Please report back when you do if something's odd. Thanks! 😃 |
Hi, is there any way to set level to Info and to add extra objects to messages when you use new Capture API (CaptureMessage is marked as obsolete)? I have tried:
Capture(new SentryEvent(new SentryMessage(message)) { Extra = myObj });
but it didn't work for me. Setting level this way didn't work either. I have always log level Error.
Thanks
The text was updated successfully, but these errors were encountered: