Skip to content

Error Handling and Messaging Improvements #93

@aaronmhargrove

Description

@aaronmhargrove

Hello! We just setup the SDK for our app and had had a couple things I thought may have made it go a little smoother:

The first issue we had was that the init promise can hang rather than rejecting with a useful error message when a domain (localhost) isn't allowed. It was mentioned in #92 but was resolved without a PR that addresses the underlying issue (hanging promise, no useful error info).

Another issue we ran into was getting to a point where the the SDK was initialized, but calling open or show would result in a "can't access properties of null" error. The actual issue was that the domain was allowed in one of two projects within a workspace, and the second domain wasn't enabled. Just another small spot where a helpful error message could have been pretty helpful.

Other than that the SDK is great, thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions