Sfoglia il codice sorgente

wrong severity level

David Rose 16 anni fa
parent
commit
f89a811cf6
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      panda/src/display/subprocessWindow.cxx

+ 4 - 2
panda/src/display/subprocessWindow.cxx

@@ -417,8 +417,10 @@ internal_open_window() {
     return false;
   }
 
-  display_cat.error()
-    << "SubprocessWindow reading " << _filename << "\n";
+  if (display_cat.is_debug()) {
+    display_cat.debug()
+      << "SubprocessWindow reading " << _filename << "\n";
+  }
 
   return true;
 }