fix(mol): prevent nil pointer dereference in wisp create

GetIssue returns (nil, nil) when an issue is not found, but the code
assumed a non-nil issue when err was nil. Added nil checks before
accessing issue fields.

Fixes crash when running `bd mol wisp create` with nonexistent proto.

Closes: gt-2uzn2

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
beads/crew/fang
2026-01-11 00:27:27 -08:00
committed by Steve Yegge
parent 7fe824781a
commit 6dfd7588b3
2 changed files with 99 additions and 30 deletions

File diff suppressed because one or more lines are too long