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