diff --git a/panda/src/putil/bamReader.cxx b/panda/src/putil/bamReader.cxx index 1904f6e32e..69123c8b1b 100644 --- a/panda/src/putil/bamReader.cxx +++ b/panda/src/putil/bamReader.cxx @@ -739,9 +739,9 @@ p_read_object() { } } - //Just some sanity checks + // Just some sanity checks if (object == (TypedWritable *)NULL) { - bam_cat.error() + bam_cat.info() << "Unable to create an object of type " << type << endl; } else if (object->get_type() != type) {