Stream: git-wasmtime

Topic: wasmtime / issue #6744 Call `expect` with an error messag...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 18 2023 at 16:14):

MindSwipe opened issue #6744:

Feature

Call expect with a sensible error message instead of unwrap to report a user friendly error.

Benefit

Having sensible error messages helps developers get to the bottom of what's causing the error faster and lets them solve it.

Implementation

Change the call to unwrap in linker.rs:105 to expect

view this post on Zulip Wasmtime GitHub notifications bot (Jul 18 2023 at 16:14):

MindSwipe edited issue #6744:

Code improvement

Call expect with a sensible error message instead of unwrap to report a user friendly error.

Benefit

Having sensible error messages helps developers get to the bottom of what's causing the error faster and lets them solve it.

Implementation

Change the call to unwrap in linker.rs:105 to expect

view this post on Zulip Wasmtime GitHub notifications bot (Jul 19 2023 at 21:45):

peterhuene closed issue #6744:

Code improvement

Call expect with a sensible error message instead of unwrap to report a user friendly error.

Benefit

Having sensible error messages helps developers get to the bottom of what's causing the error faster and lets them solve it.

Implementation

Change the call to unwrap in linker.rs:105 to expect


Last updated: Oct 23 2024 at 20:03 UTC