Browse Source

Merge pull request #678 from jordandukart/7.x-ISLANDORA-1995

Use the replacements and less pasta.
pull/679/head
Jared Whiklo 8 years ago committed by GitHub
parent
commit
1ae887ea90
  1. 11
      includes/tuque_wrapper.inc

11
includes/tuque_wrapper.inc

@ -240,11 +240,12 @@ class IslandoraFedoraObject extends FedoraObject {
return $ret;
}
catch (Exception $e) {
watchdog('islandora', 'Failed to ingest object: @pid</br>code: @code<br/>message: @msg', array(
'@pid' => $object->id,
'@dsid' => $datastream->id,
'@code' => $e->getCode(),
'@msg' => $e->getMessage()), WATCHDOG_ERROR);
watchdog('islandora', 'Failed to ingest datastream @datastream on object: @pid</br>code: @code<br/>message: @msg', array(
'@pid' => $object->id,
'@dsid' => $datastream->id,
'@code' => $e->getCode(),
'@msg' => $e->getMessage(),
), WATCHDOG_ERROR);
throw $e;
}
}

Loading…
Cancel
Save