mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-01 09:40:35 +13:00
Handle storage deletion errors better
This commit is contained in:
parent
3ef04b17c9
commit
4fc95833e5
1 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ public class StandardStorage extends DataStorage {
|
|||
gitStorageHandler.handleDeletion(file, uuid.toString());
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
ErrorEvent.fromThrowable(ex).omitted(true).build().handle();
|
||||
ErrorEvent.fromThrowable(ex).expected().omit().build().handle();
|
||||
}
|
||||
});
|
||||
} catch (Exception ex) {
|
||||
|
@ -373,7 +373,7 @@ public class StandardStorage extends DataStorage {
|
|||
gitStorageHandler.handleDeletion(file, uuid.toString());
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
ErrorEvent.fromThrowable(ex).omitted(true).build().handle();
|
||||
ErrorEvent.fromThrowable(ex).expected().omit().build().handle();
|
||||
}
|
||||
});
|
||||
} catch (Exception ex) {
|
||||
|
|
Loading…
Reference in a new issue