mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 02:38:59 +00:00
Assistant: Do not log cancellation errors from FileProvider queries
This commit is contained in:
parent
4d4ac769c1
commit
493fc65e42
Notes:
sideshowbarker
2024-07-17 23:07:41 +09:00
Author: https://github.com/tcl3
Commit: 493fc65e42
Pull-request: https://github.com/SerenityOS/serenity/pull/18331
Reviewed-by: https://github.com/LucasChollet
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
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()));
|
||||
|
||||
return {};
|
||||
},
|
||||
[](auto) {
|
||||
// Ignore cancellation errors.
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue