Actions
Feature #144
closedmake genom_reserve_sequence more "verbose" when unhappy...
Description
I had a port with a sequence which I did not properly "initialize" (propbably forgot to set _length). I had a :
SafetyPilot: cannot read inport Scan contents
Message... but no clue where to look at... in the
genom_deserialize_t_laser_LaserScan
call from:
b = posterAddr(ph->id); if (b) { max = -1; s = genom_deserialize_t_laser_LaserScan( &b, &max, &(ph->buffer)); } else s = ERROR; posterGive(ph->id); if (s) { genom_log_warn(0, "cannot read inport Scan contents"); return genom_serialization(self); } return genom_ok;
Printing something on stderr? or an assert? or may be nothing... I am just annoyed it took me half a day to find it. ;-)
Files
Actions