Add browser session id to global context (#1867)
This commit is contained in:
@@ -34,6 +34,8 @@ def add_kv_pairs_to_msg(logger: logging.Logger, method_name: str, event_dict: Ev
|
||||
event_dict["workflow_run_id"] = context.workflow_run_id
|
||||
if context.task_v2_id:
|
||||
event_dict["task_v2_id"] = context.task_v2_id
|
||||
if context.browser_session_id:
|
||||
event_dict["browser_session_id"] = context.browser_session_id
|
||||
|
||||
# Add env to the log
|
||||
event_dict["env"] = settings.ENV
|
||||
|
||||
Reference in New Issue
Block a user