Commit 462aa6d
committed
fix(ffi): replace todo!() panic with Err in ResponseValue::from_value
The catch-all arm for unsupported value types (Push, BigInt, Attribute)
previously used todo!() which panics. Panicking across an FFI boundary
is undefined behavior. Return an error string instead.
Signed-off-by: currantw <taylor.curran@improving.com>1 parent 1aa8af6 commit 462aa6d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
737 | | - | |
| 737 | + | |
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
| |||
0 commit comments