Make message drops a warning
Reviewed By: jknoxville Differential Revision: D21684530 fbshipit-source-id: f918c39562eaf6c5fd61af76e68d3e4cfe561a90
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ed2bcea906
commit
3723e08b50
@@ -225,7 +225,7 @@ export function processMessageLater(
|
|||||||
default:
|
default:
|
||||||
// In all other cases, messages will be dropped...
|
// In all other cases, messages will be dropped...
|
||||||
if (!defaultEnabledBackgroundPlugins.includes(plugin.id))
|
if (!defaultEnabledBackgroundPlugins.includes(plugin.id))
|
||||||
console.error(
|
console.warn(
|
||||||
`Received message for disabled plugin ${plugin.id}, dropping..`,
|
`Received message for disabled plugin ${plugin.id}, dropping..`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user