소스 검색

Bam with objects of unknown type error now prints filename of bam

Ken Patel 16 년 전
부모
커밋
8bcbfa6a57
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      panda/src/putil/bamReader.cxx

+ 2 - 1
panda/src/putil/bamReader.cxx

@@ -579,7 +579,8 @@ read_handle(DatagramIterator &scan) {
 
     type = TypeRegistry::ptr()->register_dynamic_type(name);
     bam_cat.warning()
-      << "Bam file contains objects of unknown type: " << type << "\n";
+      << "Bam file '" << _filename << "' contains objects of unknown type: " 
+      << type << "\n";
     new_type = true;
     _new_types.insert(type);
   }