edit_window: Don't show error for canceled loader
This commit is contained in:
parent
bb72324a64
commit
7d3cdb93b9
5 changed files with 9 additions and 7 deletions
|
|
@ -351,6 +351,9 @@ mod imp {
|
|||
log::debug!("Computing edited image.");
|
||||
let result = editor.apply_complete(&operations).await;
|
||||
match result {
|
||||
Err(err) if matches!(err.error(), glycin::Error::Canceled(_)) => {
|
||||
log::debug!("Computing edited image canceled");
|
||||
}
|
||||
Err(err) => {
|
||||
log::warn!("Failed to edit image: {err}");
|
||||
obj.window().show_error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue