Crashlytics记录错误

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

NSDictionary *detail = @{@"message":errorWithURL, @"response":jsonString}; [[Crashlytics sharedInstance] recordError:[NSError errorWithDomain:@"send request" code:0 userInfo:detail]]; 

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

看到这里 。

我在这里做错了吗?

来自Fabric Docs – “userInfo对象中包含的数据将转换为键值对,并显示在单个问题的键/日志部分中。”

因此,请按右上角的“查看所有会话”按钮,然后转到页面顶部的键/日志部分

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