mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-29 16:11:03 +00:00
Don't show logs clean error when another instance is running
This commit is contained in:
@@ -119,7 +119,9 @@ public class AppLogs {
|
||||
FileUtils.forceDelete(path.toFile());
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
ErrorEvent.fromThrowable(ex).handle();
|
||||
// It can happen that another instance is running that is locking a log file
|
||||
// Since we initialized before checking for another instance, this might fail
|
||||
ErrorEvent.fromThrowable(ex).expected().omit().handle();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user