Don't crash if decrypt fails.
This commit is contained in:
parent
fd6cbaa9a5
commit
8eeba2e005
@ -70,7 +70,7 @@ static OSStatus MPHotKeyHander(EventHandlerCallRef nextHandler, EventRef theEven
|
|||||||
@try {
|
@try {
|
||||||
// Sentry
|
// Sentry
|
||||||
[SentrySDK initWithOptions:@{
|
[SentrySDK initWithOptions:@{
|
||||||
@"dsn" : decrypt( sentryDSN ),
|
@"dsn" : NilToNSNull( decrypt( sentryDSN ) ),
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
@"debug" : @(YES),
|
@"debug" : @(YES),
|
||||||
@"environment": @"Development",
|
@"environment": @"Development",
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
@try {
|
@try {
|
||||||
// Sentry
|
// Sentry
|
||||||
[SentrySDK initWithOptions:@{
|
[SentrySDK initWithOptions:@{
|
||||||
@"dsn" : decrypt( sentryDSN ),
|
@"dsn" : NilToNSNull( decrypt( sentryDSN ) ),
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
@"debug" : @(YES),
|
@"debug" : @(YES),
|
||||||
@"environment": @"Development",
|
@"environment": @"Development",
|
||||||
|
Loading…
Reference in New Issue
Block a user