Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc |
— | — | @@ -153,6 +153,8 @@ |
154 | 154 | $contact['display_name'] = trim($contact['first_name'] . ' ' . $contact['last_name']); |
155 | 155 | $contact_result = &civicrm_contact_add( $contact ); |
156 | 156 | |
| 157 | + watchdog( 'queue2civicrm', 'Result for updating contact: %contact', array( '%contact' => print_r( $contact_result, true )), WATCHDOG_DEBUG ); |
| 158 | + |
157 | 159 | return $contact_result; |
158 | 160 | } |
159 | 161 | |
— | — | @@ -211,7 +213,7 @@ |
212 | 214 | 'email' => $msg['email'] |
213 | 215 | ); |
214 | 216 | $location_result = &civicrm_location_update( $address ); |
215 | | - |
| 217 | + watchdog( 'queue2civicrm', 'Result for updating location: %location', array( '%location' => print_r( $location_result, true )), WATCHDOG_DEBUG ); |
216 | 218 | return $location_result; |
217 | 219 | } |
218 | 220 | |