fix: remove this import as it causes python to treat "json" as a variable in the except block

This commit is contained in:
Martin Sjöborg
2025-10-02 09:17:32 +02:00
parent ef46df10da
commit 8d30662647

View File

@@ -563,7 +563,6 @@ async def handle_crawl_request(
if isinstance(hook_manager, UserHookManager):
try:
# Ensure all hook data is JSON serializable
import json
hook_data = {
"status": hooks_status,
"execution_log": hook_manager.execution_log,