Created
February 18, 2019 08:06
-
-
Save bcye/68d6282cb750999ac2be88e53770bf54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Sentry | |
func application(_ application: UIApplication, | |
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
// Create a Sentry client and start crash handler | |
do { | |
Client.shared = try Client(dsn: "yourDNS") | |
try Client.shared?.startCrashHandler() | |
} catch let error { | |
print("\(error)") | |
} | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment