mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-27 09:02:15 +00:00
chore(plugins): remove opik investigation checkpoints
This commit is contained in:
@@ -28,16 +28,6 @@ const state: RegistryState = (() => {
|
||||
})();
|
||||
|
||||
export function setActivePluginRegistry(registry: PluginRegistry, cacheKey?: string) {
|
||||
if (process.env.OPENCLAW_PLUGIN_CHECKPOINTS === "1") {
|
||||
const stack = new Error().stack
|
||||
?.split("\n")
|
||||
.slice(2, 5)
|
||||
.map((line) => line.trim())
|
||||
.join(" | ");
|
||||
console.warn(
|
||||
`[plugins][checkpoints] activate registry key=${cacheKey ?? "none"} plugins=${registry.plugins.length} typedHooks=${registry.typedHooks.length}${stack ? ` caller=${stack}` : ""}`,
|
||||
);
|
||||
}
|
||||
state.registry = registry;
|
||||
if (!state.httpRouteRegistryPinned) {
|
||||
state.httpRouteRegistry = registry;
|
||||
|
||||
Reference in New Issue
Block a user