You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No UncaughtExceptionHandler/onFailed method for Tasks #1276
Some implementations of javafx.concurrent.Task in the Cryptomator project don't have something similar to an UncaughtExceptionHandler of java.lang.Thread. This causes exceptions - that haven't been caught in the Runner-Thread - to be neither logged nor handled, which makes debugging difficult.
Generally speaking the following design decision leads to problems: Thread has a default UncaughtExceptionHandler that prints a stacktrace if a Thread terminates with an exception. Tasksuppresses the exception fully.
System Setup
Operating system and version: Any
Cryptomator version: 1.6.0-SNAPSHOT (Internal)
Volume type: Any
Recommended Course of Action
Use a combination of setOnFailed() and getException() to create an UncaughtExceptionHandler for Tasks.
See for reference:
Activity