mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
add fusebox flag to error case of launch debugger event (#44696)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44696 Changelog: [Internal] Add `prefers_fusebox_frontend` annotation to the error case for the launch debugger event Reviewed By: hoxyq Differential Revision: D57866634 fbshipit-source-id: fcd3655539c936d9965b0c79a47b1b58bb9a4e48
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dc3a530191
commit
82a3bb8f75
@@ -160,6 +160,7 @@ export default function openDebuggerMiddleware({
|
||||
launchType,
|
||||
status: 'error',
|
||||
error: e,
|
||||
prefersFuseboxFrontend: useFuseboxEntryPoint ?? false,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ type SuccessResult<Props: {...} | void = {}> = {
|
||||
type ErrorResult<ErrorT = mixed> = {
|
||||
status: 'error',
|
||||
error: ErrorT,
|
||||
prefersFuseboxFrontend?: ?boolean,
|
||||
};
|
||||
|
||||
type CodedErrorResult<ErrorCode: string> = {
|
||||
|
||||
Reference in New Issue
Block a user