PocketIc ability to handle/catch canister_inspect_message fails in a test?

I found that when an update call is blocked/traps in the canister_inspect_message function, the pic.update_call method panics. Is there a way to catch this error in a test so I can unwrap_err or something similar?

1 Like

Thank you for reporting the issue! We’ve fix the issue on master already (please see this commmit) and thus it’ll be part of the next PocketIC release.

4 Likes