thread '<unnamed>' panicked at flipt-engine-ffi/src/lib.rs:212:79:
Thank you @markphelps, that helps to understand the issue better. That unwrap could panic in many cases if there is an connection or configuration issue. It would be great if initialize_engine could return an error to upstream instead of panic. Don't know if that is possible with FFI.
Yeah agreed. We should see if we can recover from panic in FFI/Flipt Evaluation layer and always return an error instead of crashing the client. Will create an issue for this in the flipt-client-sdk repo
Yeah agreed. We should see if we can recover from
panic
in FFI/Flipt Evaluation layer and always return an error instead of crashing the client. Will create an issue for this in theflipt-client-sdk
repoOriginally posted by @markphelps in https://github.com/flipt-io/flipt/issues/2791#issuecomment-1956875106
FLI-861