Browse Source

recover islandora 7.x

pull/420/head
yqjiang 11 years ago
parent
commit
1d0ba1cf40
  1. 7
      includes/ingest.form.inc

7
includes/ingest.form.inc

@ -58,9 +58,10 @@ function islandora_ingest_form(array $form, array &$form_state, array $configura
} }
catch (Exception $e) { catch (Exception $e) {
watchdog( watchdog(
'islandora', 'islandora',
'Exception during ingest form processing with Message: "@exception", and Trace: @trace', 'Exception during ingest form processing with Message: "@exception", and Trace: @trace',
array('@exception' => $e->getMessage(), '@trace' => $e->getTraceAsString()), WATCHDOG_ERROR array('@exception' => $e->getMessage(), '@trace' => $e->getTraceAsString()),
WATCHDOG_ERROR
); );
drupal_set_message($e->getMessage(), 'error'); drupal_set_message($e->getMessage(), 'error');
return array(array( return array(array(

Loading…
Cancel
Save