fix: remove this import as it causes python to treat "json" as a variable in the except block
This commit is contained in:
@@ -563,7 +563,6 @@ async def handle_crawl_request(
|
|||||||
if isinstance(hook_manager, UserHookManager):
|
if isinstance(hook_manager, UserHookManager):
|
||||||
try:
|
try:
|
||||||
# Ensure all hook data is JSON serializable
|
# Ensure all hook data is JSON serializable
|
||||||
import json
|
|
||||||
hook_data = {
|
hook_data = {
|
||||||
"status": hooks_status,
|
"status": hooks_status,
|
||||||
"execution_log": hook_manager.execution_log,
|
"execution_log": hook_manager.execution_log,
|
||||||
|
|||||||
Reference in New Issue
Block a user