diff --git a/panda/src/putil/bamReader.cxx b/panda/src/putil/bamReader.cxx index 8a7d4b24f0..13c18e998e 100644 --- a/panda/src/putil/bamReader.cxx +++ b/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); }