Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion gateway/slash_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,13 @@ async def _handle_kanban_command(self, event: MessageEvent) -> str:
if text.startswith("kanban"):
text = text[len("kanban"):].lstrip()

tokens = shlex.split(text) if text else []
try:
tokens = shlex.split(text) if text else []
except ValueError:
# Unbalanced quote in user-typed args ("/kanban deploy "v2)
# must not raise out of the handler — /resume guards its own
# shlex.split the same way. Fall back to whitespace splitting.
tokens = text.split()
requested_board = None
action = None
i = 0
Expand Down