Skip to content
Permalink
Browse files

NSApplicationCrashOnExceptions for Crashlytics

  • Loading branch information...
youknowone committed Jan 18, 2019
1 parent 8b91c3b commit e04faf8525b381aea703cfb64fbd99fdb0ad74c8
Showing with 2 additions and 1 deletion.
  1. +2 −1 OSX/GureumAppDelegate.swift
@@ -41,8 +41,9 @@ class GureumAppDelegate: NSObject, NSApplicationDelegate, GureumApplicationDeleg
let notificationCenterDelegate = NotificationCenterDelegate()

func applicationDidFinishLaunching(_ notification: Notification) {
NSUserNotificationCenter.default.delegate = notificationCenterDelegate
UserDefaults.standard.register(defaults: ["NSApplicationCrashOnExceptions": true])

NSUserNotificationCenter.default.delegate = notificationCenterDelegate
let notificationCenter = NSUserNotificationCenter.default
#if DEBUG
let notification = NSUserNotification()

0 comments on commit e04faf8

Please sign in to comment.
You can’t perform that action at this time.