getsentry / getsentry/sentry-react-native

Uncaught CPP Exceptions are missing message

Aperta
#3,931 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Blocked Errors Improvement React-Native
Lingua principale
TypeScript
Stelle
1.8k
Fork
366
Merge medio
1g 5h
PR unite (30g)
93

Descrizione

### Description

When `throw std::invalid_argument( "received negative value" );` in `*.mm` I would expect to see the stack trace and the message of the `std::invalid_argument( "received negative value" )` but I'm seeing only the the type `std::invalid_argument`.

[Event]()
Note: There seems to be a main thread missing. Maybe related.

![Screenshot 2024-07-03 at 13 01 37](https://uploads.linear.app/3ed206af-f87a-40aa-82a0-150bf83e43e6/e935197e-eaf1-4ad4-8d3c-1fdd4e2fe53d/91eebefd-e248-421f-8e0d-8aa4f044ac69?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzNlZDIwNmFmLWY4N2EtNDBhYS04MmEwLTE1MGJmODNlNDNlNi9lOTM1MTk3ZS1lYWYxLTRhZDQtOGQzYy0xZmRkNGUyZmU1M2QvOTFlZWJlZmQtZTI0OC00MjFmLThlMGQtOGFhNGYwNDRhYzY5IiwiaWF0IjoxNzc5MTk1NDU5LCJleHAiOjE4MTA3NjYwMTl9.w-OXgDlPI_Bn0XzQiTPD0RvoUsKvjU3oqKNPCVqaC7Y)

Related

* [https://github.com/software-mansion/react-native-reanimated/pull/6163]()
* JSError CPP Exceptions are missing the JS stack which is part of the error message.

[iOS]()

![Screenshot 2024-07-03 at 13 03 10](https://uploads.linear.app/3ed206af-f87a-40aa-82a0-150bf83e43e6/f5afec71-2b9c-4bde-bdda-ac3ad04f9059/e8f6f88a-ea72-4a43-be0c-e5dd4ee2e09e?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzNlZDIwNmFmLWY4N2EtNDBhYS04MmEwLTE1MGJmODNlNDNlNi9mNWFmZWM3MS0yYjljLTRiZGUtYmRkYS1hYzNhZDA0ZjkwNTkvZThmNmY4OGEtZWE3Mi00YTQzLWJlMGMtZTVkZDRlZTJlMDllIiwiaWF0IjoxNzc5MTk1NDU5LCJleHAiOjE4MTA3NjYwMTl9._m4EQ_gA8atuikS5fgoiqFLzabNAc433g1knWOvvOzM)

[Android]()

![Screenshot 2024-07-03 at 13 02 49](https://uploads.linear.app/3ed206af-f87a-40aa-82a0-150bf83e43e6/f1eeb064-0e6c-4a6b-938b-4c2b2db618be/bc792db8-e57e-48aa-94e3-6d2d58ffa0f0?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzNlZDIwNmFmLWY4N2EtNDBhYS04MmEwLTE1MGJmODNlNDNlNi9mMWVlYjA2NC0wZTZjLTRhNmItOTM4Yi00YzJiMmRiNjE4YmUvYmM3OTJkYjgtZTU3ZS00OGFhLTk0ZTMtNmQyZDU4ZmZhMGYwIiwiaWF0IjoxNzc5MTk1NDU5LCJleHAiOjE4MTA3NjYwMTl9.IsZR9-g4Tt8rQBl8U4V9KVy_wm1mRgyHmS6ZSqJ5PE0)

### Blocked by

* [https://github.com/getsentry/sentry-cocoa/issues/3822]()
* [https://github.com/getsentry/sentry-cocoa/issues/3707]()
* [https://github.com/getsentry/sentry-cocoa/issues/4226]()

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.