mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 17:10:27 +00:00
Don't show logs clean error when another instance is running
This commit is contained in:
parent
37dae87a2f
commit
f42434c60e
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue