Просмотр исходного кода

Revert "FileManager: Remove duplicate log statement"

This reverts commit e0b7717a6a9f196c919490e130e2ffb0fb9e844a.
Timothy Flynn 2 лет назад
Родитель
Сommit
e62cb539fd
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      Userland/Applications/FileManager/DirectoryView.cpp

+ 3 - 1
Userland/Applications/FileManager/DirectoryView.cpp

@@ -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();