Browse Source

cleaner watchdog

pull/417/head
William Panting 11 years ago
parent
commit
3ea5d882c4
  1. 2
      includes/ingest.form.inc

2
includes/ingest.form.inc

@ -773,7 +773,7 @@ function islandora_ingest_form_submit(array $form, array &$form_state) {
// invalid, so don't say failed. // invalid, so don't say failed.
watchdog( watchdog(
'islandora', 'islandora',
'Exception Message: @exception. Trace: @trace', 'Exception during ingest with Message: "@exception", and Trace: @trace',
array('@exception' => $e->getMessage(), '@trace' => $e->getTraceAsString()), array('@exception' => $e->getMessage(), '@trace' => $e->getTraceAsString()),
WATCHDOG_ERROR WATCHDOG_ERROR
); );

Loading…
Cancel
Save