Crashlytics记录错误

Abd*_*mer 7 objective-c ios crashlytics google-fabric

我正在使用Crashlytics for iOS录制错误.

NSDictionary *detail = @{@"message":errorWithURL, @"response":jsonString};
[[Crashlytics sharedInstance] recordError:[NSError errorWithDomain:@"send request" code:0 userInfo:detail]];
Run Code Online (Sandbox Code Playgroud)

但是我没有在Crashlytics控制台中看到这条消息.

看到这里.

我在这里做错了吗?

Ser*_*nsk 8

来自Fabric Docs - "userInfo对象中包含的数据将转换为键值对,并显示在单个问题中的keys/logs部分中."

所以按右上角的"查看所有会话"按钮,然后转到页面顶部的键/日志部分

https://docs.fabric.io/apple/crashlytics/logged-errors.html#using-the-api