@@ -15,7 +15,7 @@ internal class DuplicateEventDetectionEventProcessor : ISentryEventProcessor
1515 {
1616 if ( _capturedObjects . TryGetValue ( @event , out _ ) )
1717 {
18- _options . LogDebug ( "Same event instance detected and discarded. EventId: {0}" , @event . EventId ) ;
18+ _options . LogDebug ( "Same event instance detected and discarded. EventId: ' {0}' " , @event . EventId ) ;
1919 return null ;
2020 }
2121 _capturedObjects . Add ( @event , null ) ;
@@ -38,7 +38,7 @@ private bool IsDuplicate(Exception ex, SentryId eventId, bool debugLog)
3838 {
3939 if ( debugLog )
4040 {
41- _options . LogDebug ( "Duplicate Exception: 'SameExceptionInstance'. Event {0} will be discarded." , eventId ) ;
41+ _options . LogDebug ( "Duplicate Exception: 'SameExceptionInstance'. Event ' {0}' will be discarded." , eventId ) ;
4242 }
4343 return true ;
4444 }
@@ -52,7 +52,7 @@ private bool IsDuplicate(Exception ex, SentryId eventId, bool debugLog)
5252 var result = aex . InnerExceptions . Any ( e => IsDuplicate ( e , eventId , false ) ) ;
5353 if ( result )
5454 {
55- _options . LogDebug ( "Duplicate Exception: 'AggregateException'. Event {0} will be discarded." , eventId ) ;
55+ _options . LogDebug ( "Duplicate Exception: 'AggregateException'. Event ' {0}' will be discarded." , eventId ) ;
5656 }
5757
5858 return result ;
@@ -63,7 +63,7 @@ private bool IsDuplicate(Exception ex, SentryId eventId, bool debugLog)
6363 {
6464 if ( IsDuplicate ( ex . InnerException , eventId , false ) )
6565 {
66- _options . LogDebug ( "Duplicate Exception: 'SameExceptionInstance'. Event {0} will be discarded." , eventId ) ;
66+ _options . LogDebug ( "Duplicate Exception: 'SameExceptionInstance'. Event ' {0}' will be discarded." , eventId ) ;
6767 return true ;
6868 }
6969 }
0 commit comments