mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Improve file watch error message
This commit is contained in:
parent
2cda040274
commit
d0497fcba2
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class AppFileWatcher {
|
|||
try {
|
||||
watchService = FileSystems.getDefault().newWatchService();
|
||||
} catch (IOException e) {
|
||||
ErrorEvent.fromThrowable(e).handle();
|
||||
ErrorEvent.fromThrowable("Unable to initialize file watcher. Watching and updating files in the file browser will be unavailable.", e).expected().handle();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue