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

This commit is contained in:
Ken Patel 2009-11-17 23:23:50 +00:00
parent 928d8236c3
commit 8bcbfa6a57

View File

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