-
Notifications
You must be signed in to change notification settings - Fork 24
fix(webapp): improved error handling in remote desktop clients #1456
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
Conversation
This commit adds the following improvements to the error handling: * `TERMINATED` event terminates the session and shows an error message in the toast in the connection form. * `ERROR` shows an error message as a notification and duplicates it in the console.
Let maintainers know that an action is required on their side
|
webapp/package.json
Outdated
| "@angular/router": "18.2.1", | ||
| "@devolutions/icons": "4.0.8", | ||
| "@devolutions/iron-remote-desktop": "^0.7.0", | ||
| "@devolutions/iron-remote-desktop": "../../ironrdp/web-client/iron-remote-desktop/dist", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for Devolutions/IronRDP#944 to be merged and released
| // Ignore the error, we will handle it in the `onSessionEvent` handler. | ||
| return EMPTY; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Maybe add a FIXME given the design suggested on Slack.
CBenoit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. The new version of the dependency is released too!
This commit adds the following improvements to the error handling:
TERMINATEDevent terminates the session and shows an error message in the toast in the connection form.ERRORshows an error message as a notification and duplicates it in the console.