Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc |
— | — | @@ -120,6 +120,8 @@ |
121 | 121 | $contact['display_name'] = trim($contact['first_name'] . ' ' . $contact['last_name']); |
122 | 122 | $contact_result = &civicrm_contact_add( $contact ); |
123 | 123 | |
| 124 | + watchdog( 'queue2civicrm', 'Result for adding contact: ', print_r( $contact_result, true ), WATCHDOG_DEBUG ); |
| 125 | + |
124 | 126 | return $contact_result; |
125 | 127 | } |
126 | 128 | |
— | — | @@ -181,7 +183,7 @@ |
182 | 184 | 'email' => $msg['email'] |
183 | 185 | ); |
184 | 186 | $location_result = &civicrm_location_add( $address ); |
185 | | - |
| 187 | + watchdog( 'queue2civicrm', 'Result for adding location: ', print_r( $location_result, true ), WATCHDOG_DEBUG ); |
186 | 188 | return $location_result; |
187 | 189 | } |
188 | 190 | |