瀏覽代碼

included searched paths in debug output

Dave Schuyler 21 年之前
父節點
當前提交
0550b1ec52
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      panda/src/pgraph/loader.cxx

+ 3 - 3
panda/src/pgraph/loader.cxx

@@ -449,11 +449,11 @@ load_file(const Filename &filename, bool search) const {
 
     if (search) {
       loader_cat.error()
-        << "Couldn't load file " << filename << ": not found on model path.\n";
-
+        << "Couldn't load file " << filename << ": not found on model path "
+        << "(which is currently: \"" << get_model_path() << "\")\n";
     } else {
       loader_cat.error()
-        << "Couldn't load file " << filename << ": does not exist.\n";
+        << "Couldn't load file ./" << filename << ": does not exist.\n";
     }
     return NULL;
   }