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

Uncaught (in promise) Error: Identity contract ID mismatch during login #2473

Open
taoeffect opened this issue Dec 18, 2024 · 2 comments
Open

Comments

@taoeffect
Copy link
Member

Problem

A minor issue occurs when u1 was logged in, then grunt dev is restarted and the page is refreshed and u1 is recreated:

Uncaught (in promise) Error: Identity contract ID mismatch during login

a

This doesn't seem to break anything, but it's an unhandled exception.

Solution

Handle the exception properly.

@corrideat
Copy link
Member

I looked into this and agree that it should be handled. However, handling it will result in more convoluted code (putting the code after the Promise inside a try / catch).

@taoeffect
Copy link
Member Author

OK, well if it's not a big deal then we can deal with this later. Marked as low priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants