Created
September 27, 2017 19:14
-
-
Save vikdenic/7d5c2ab44511f05d2db08b5a4a26f46e to your computer and use it in GitHub Desktop.
Fabric log non-fatal
This file contains hidden or 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
var params = [String : Any]() | |
if let currentUser = SPKUser.sharedUser { | |
params["userId"] = currentUser.idText | |
} | |
if let scene = scene { | |
params["app location"] = String(describing: type(of: scene)) | |
} | |
Crashlytics.sharedInstance().recordError(error, withAdditionalUserInfo: params) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment