Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The fdc3.open function returns a 'error' string rather than an error #773

Closed
ColinEberhardt opened this issue Aug 30, 2022 · 1 comment
Closed

Comments

@ColinEberhardt
Copy link

If I execute the following:

fdc3.open("NoAppId").catch(e => console.log("type of thrown object", typeof e));

The following is logged:

type of thrown object string

However, the API indicates that:

If opening errors, it returns an Error with a string from the OpenError enumeration.

Notably fd3-electron also has the same issue.

@kriswest
Copy link

kriswest commented Sep 5, 2022

Thanks @ColinEberhardt this was fixed in Finsemble 7.3.0 which throws an Error object including a stack trace.

FYI @mhmcclung

@kriswest kriswest closed this as completed Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants