mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Revert "FileManager: Remove duplicate log statement"
This reverts commit e0b7717a6a
.
This commit is contained in:
parent
685c8c3d40
commit
e62cb539fd
Notes:
sideshowbarker
2024-07-17 06:33:00 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/e62cb539fd Pull-request: https://github.com/SerenityOS/serenity/pull/20143 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 3 additions and 1 deletions
|
@ -408,8 +408,10 @@ bool DirectoryView::open(DeprecatedString const& path)
|
|||
return false;
|
||||
|
||||
auto real_path = error_or_real_path.release_value();
|
||||
if (auto result = Core::System::chdir(real_path); result.is_error())
|
||||
if (auto result = Core::System::chdir(real_path); result.is_error()) {
|
||||
dbgln("Failed to open '{}': {}", real_path, result.error());
|
||||
warnln("Failed to open '{}': {}", real_path, result.error());
|
||||
}
|
||||
|
||||
if (model().root_path() == real_path.to_deprecated_string()) {
|
||||
refresh();
|
||||
|
|
Loading…
Reference in a new issue