Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add exception handling logic to the root of the app #1123

@sparerd

Description

@sparerd

There have been numerous times where an exception is uncaught and crashes mRemoteNG. While it would be best to have exception handling as close to the throwing code as possible, we need some catch-all exception handling code at the root of the app. It doesn't look good when the app crashes.

Expected Behavior

Uncaught exceptions should trigger a message/dialog that presents the user with what has happened and attempt to ensure that mRemoteNG is still in a usable state. The app should remain running after the exception is shown.

Current Behavior

If an uncaught exception occurs, the app simply crashes.

Context

It is a poor user experience to have an app suddenly crash. In almost all cases we can recover from exceptions with only minor inconvenience.

Metadata

Metadata

Assignees

Labels

EnhancementA new feature or improvement to an existing feature.In progressPriority - HighIssue needs to be addressed as soon as possible

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions