edit prediction: Don't log an error if license file isn't found (#24278)
Logging an error in this case isn't super necessary. Release Notes: - N/A Co-authored-by: Bennet Bo Fenner <53836821+bennetbo@users.noreply.github.com>
This commit is contained in:
committed by
Piotr Osiewicz
parent
cee4e25d51
commit
e21ea19fc6
@@ -958,8 +958,7 @@ impl LicenseDetectionWatcher {
|
||||
Self {
|
||||
is_open_source_rx,
|
||||
_is_open_source_task: cx.spawn(|_, _| async move {
|
||||
// TODO: Don't display error if file not found
|
||||
let Some(loaded_file) = loaded_file_fut.await.log_err() else {
|
||||
let Ok(loaded_file) = loaded_file_fut.await else {
|
||||
return;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user