heap / react-native-heap

A React Native integration for Heap
MIT License
82 stars 36 forks source link

[HEAP-49279] Improve error logging #415

Closed bnickel closed 1 year ago

bnickel commented 1 year ago

Description

Our error logging is currently a bit muddled:

This makes the following improvements:

Screenshot 2023-11-01 at 5 00 07 PM

Screenshot 2023-11-01 at 5 02 02 PM

To support this, the following changes were made:

Test Plan

The detox tests were run, along with some manual testing where I renamed native references to simulate failure (NativeModules.RNHeap -> NativeModules.RNHeapX, RNHeap.identify -> RNHeap.identifyX).

Checklist