more adjustments
This commit is contained in:
@@ -112,6 +112,11 @@ def close_session() -> None:
|
||||
except Exception as e:
|
||||
print(f"Warning: Could not update auto-whitelist on close: {e}")
|
||||
|
||||
def reset_session(label: Optional[str] = None) -> None:
|
||||
"""Closes the current session and opens a new one with the given label."""
|
||||
close_session()
|
||||
open_session(label)
|
||||
|
||||
def log_api_hook(method: str, path: str, payload: str) -> None:
|
||||
"""Log an API hook invocation."""
|
||||
if _api_fh is None:
|
||||
|
||||
Reference in New Issue
Block a user