09d2c0 internals: pe_record_error(): set unit information in error record.

Authored and Committed by midipix 7 years ago
    internals: pe_record_error(): set unit information in error record.