mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
Assistant: Do not log cancellation errors from FileProvider queries
This commit is contained in:
parent
4d4ac769c1
commit
493fc65e42
1 changed files with 3 additions and 0 deletions
|
@ -174,6 +174,9 @@ void FileProvider::query(DeprecatedString const& query, Function<void(Vector<Non
|
||||||
on_complete(move(results.value()));
|
on_complete(move(results.value()));
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
|
},
|
||||||
|
[](auto) {
|
||||||
|
// Ignore cancellation errors.
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue