Skip to content

Errors thrown in wrappers and WasmWrapper.ts are thrown instead of returned as errors in InvokeResult #1311

Open

Description

@krisbitney

Describe the bug
When Wasm wrappers encounter errors, the errors are not returned in InvokeResult. Instead, they are thrown. I'm not sure if this is intentional.

Expected behavior
I assumed these errors would be returned in InvokeResult

Screenshots / logs
Screen Shot 2022-10-10 at 7 01 46 PM

Screen Shot 2022-10-10 at 6 58 02 PM

Relevant environment details:

  • OS: MacOS with M1
  • Rust Wasm wrapper
  • Jest test suite

Activity

  1. cbrzn commented on Oct 18, 2022

    @cbrzn
    Contributor

    I think these are related #701 and would like to work on a game plan for this - @krisbitney are you down to jam about it this week?

  2. krisbitney commented on Oct 19, 2022

    @krisbitney
    ContributorAuthor

    I think these are related #701 and would like to work on a game plan for this - @krisbitney are you down to jam about it this week?

    Yeah, sounds good! I have a lot of time open today and tomorrow. Is there any particular time or day that works well for you, or should we just try to catch each other online?

  3. cbrzn commented on Oct 19, 2022

    @cbrzn
    Contributor

    will dm you :-D @krisbitney

  4. removed their assignment
    on Nov 15, 2022
  5. added this to the golden-path milestone on Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions