Commit 5685d29
fix(ui): return error from handleFormSubmit when no handler matches
Previously handleFormSubmit silently returned nil when handlerForFormKind
returned no handler, swallowing a potential programming error. Now it
returns a descriptive error so mismatches surface immediately.
closes #252
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ecdaa89 commit 5685d29
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
1205 | | - | |
| 1205 | + | |
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
| |||
0 commit comments