Changeset 17766 for trunk/midcom/midcom.helper.replicator/exporter.php
- Timestamp:
- 09/29/08 16:16:33 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.helper.replicator/exporter.php
r17556 r17766 111 111 { 112 112 unset($privileges, $privilege, $qb); 113 debug_add("midcom_helper_replicator_serialize returned false for privilege {$privilege->guid} ", MIDCOM_LOG_ERROR);113 debug_add("midcom_helper_replicator_serialize returned false for privilege {$privilege->guid}, errstr: " . mgd_errstr(), MIDCOM_LOG_ERROR); 114 114 debug_pop(); 115 115 return false; … … 141 141 if ($attachment_serialized === false) 142 142 { 143 debug_add("midcom_helper_replicator_serialize returned false for attachment {$attachment->guid} ", MIDCOM_LOG_ERROR);143 debug_add("midcom_helper_replicator_serialize returned false for attachment {$attachment->guid}, errstr: " . mgd_errstr(), MIDCOM_LOG_ERROR); 144 144 debug_pop(); 145 145 return false; … … 151 151 { 152 152 unset($attachment_serialized); 153 debug_add("midcom_helper_replicator_serialize_blob returned false for attachment {$attachment->guid} ", MIDCOM_LOG_ERROR);153 debug_add("midcom_helper_replicator_serialize_blob returned false for attachment {$attachment->guid}, errstr: " . mgd_errstr(), MIDCOM_LOG_ERROR); 154 154 debug_pop(); 155 155 return false; … … 276 276 { 277 277 unset($parameters, $parameter, $qb); 278 debug_add("midcom_helper_replicator_serialize returned false for parameter {$parameter->guid} ", MIDCOM_LOG_ERROR);278 debug_add("midcom_helper_replicator_serialize returned false for parameter {$parameter->guid}, errstr: " . mgd_errstr(), MIDCOM_LOG_ERROR); 279 279 debug_pop(); 280 280 return false; … … 371 371 { 372 372 $GLOBALS['midcom_helper_replicator_logger']->pop_prefix(); 373 debug_add("midcom_helper_replicator_serialize returned false for object {$object->guid} ", MIDCOM_LOG_ERROR);373 debug_add("midcom_helper_replicator_serialize returned false for object {$object->guid}, errstr: " . mgd_errstr(), MIDCOM_LOG_ERROR); 374 374 debug_pop(); 375 375 return false;
