Skip to content

Commit 64d8863

Browse files
committed
fix: log clipboard unavailability instead of silently passing
1 parent e8413f1 commit 64d8863

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend/base/langflow/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ def api_key_banner(unmasked_api_key) -> None:
955955
pyperclip.copy(unmasked_api_key.api_key)
956956
clipboard_available = True
957957
except Exception: # noqa: BLE001
958-
pass
958+
logger.debug("Clipboard not available in this environment; API key will be displayed on stdout only.")
959959

960960
clipboard_hint = (
961961
f"The API key has been copied to your clipboard. [bold]{['Ctrl', 'Cmd'][is_mac]} + V[/bold] to paste it."

0 commit comments

Comments
 (0)