2
0

Don't crash if decrypt fails.

This commit is contained in:
Maarten Billemont 2020-04-09 21:46:09 -04:00
parent fd6cbaa9a5
commit 8eeba2e005
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ static OSStatus MPHotKeyHander(EventHandlerCallRef nextHandler, EventRef theEven
@try {
// Sentry
[SentrySDK initWithOptions:@{
@"dsn" : decrypt( sentryDSN ),
@"dsn" : NilToNSNull( decrypt( sentryDSN ) ),
#ifdef DEBUG
@"debug" : @(YES),
@"environment": @"Development",

View File

@ -45,7 +45,7 @@
@try {
// Sentry
[SentrySDK initWithOptions:@{
@"dsn" : decrypt( sentryDSN ),
@"dsn" : NilToNSNull( decrypt( sentryDSN ) ),
#ifdef DEBUG
@"debug" : @(YES),
@"environment": @"Development",