Group MPErrors together, ignoring the actual inline values.
This commit is contained in:
parent
93ad86e63c
commit
1cae4c754b
@ -43,6 +43,7 @@ __END_DECLS
|
|||||||
SentryEvent *event = [[SentryEvent alloc] initWithLevel:kSentryLevelError]; \
|
SentryEvent *event = [[SentryEvent alloc] initWithLevel:kSentryLevelError]; \
|
||||||
event.message = strf( message_ @": %@", ##__VA_ARGS__, [__error localizedDescription]); \
|
event.message = strf( message_ @": %@", ##__VA_ARGS__, [__error localizedDescription]); \
|
||||||
event.logger = @"MPError"; \
|
event.logger = @"MPError"; \
|
||||||
|
event.fingerprint = @[ message_, __error.domain, @(__error.code) ]; \
|
||||||
[SentrySDK captureEvent:event]; \
|
[SentrySDK captureEvent:event]; \
|
||||||
} \
|
} \
|
||||||
__error; \
|
__error; \
|
||||||
|
Loading…
Reference in New Issue
Block a user