My team develops Structure plugin for Jira cloud. Our users encountered "Something's gone wrong" error message. We discovered that there are few cases then this error message appears when it shouldn't.
1. User session expires and user tries to reload page.
2. User global permission was revoked by administrator and user reloads page.
3. User uses direct link without logging in first.
We tried removing "has_global_permission" and "user_is_logged_in" conditions from our plugin descriptor, but it had no effect.
It would be great to have some meaningful error message (or redirection to login page when it is possible). Or no error at all, so we could check user authorisation and permissions by ourselves.