diff --git a/private/react-native-fantom/runtime/setup.js b/private/react-native-fantom/runtime/setup.js index 7a5c198aa3cc..e148564868c8 100644 --- a/private/react-native-fantom/runtime/setup.js +++ b/private/react-native-fantom/runtime/setup.js @@ -450,6 +450,7 @@ function runTest(): Array { NativeFantom.startJSSamplingProfiler(); } catch (e) { console.error('Could not start JS sampling profiler', e); + throw e; } try {