mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Revert "FileManager: Remove duplicate log statement"
This reverts commit e0b7717a6a.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user