Browse Source

Tripal: Additional Bulk Loader debugging information

laceysanderson 13 years ago
parent
commit
fe3ab802ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_bulk_loader/tripal_bulk_loader.loader.inc

+ 1 - 1
tripal_bulk_loader/tripal_bulk_loader.loader.inc

@@ -261,7 +261,7 @@ function process_data_array_for_line ($priority, &$data, &$default_data, $field2
   }
 
   if (!$values) {
-    $msg = $table_data['record_id'].' ('.$table_data['mode'].') Aborted due to error in previous record. Values of current record:'.print_r($values,TRUE);
+    $msg = $table_data['record_id'].' ('.$table_data['mode'].') Aborted due to error in previous record. Values of current record:'.print_r($table_data['values_array'],TRUE);
     watchdog('T_bulk_loader', $msg, array(), WATCHDOG_WARNING); 
     print "ERROR: ".$msg."\n";
     $data[$priority]['error'] = TRUE;