diff --git a/includes/tuque_wrapper.inc b/includes/tuque_wrapper.inc
index 15d436aa..8c21b4ed 100644
--- a/includes/tuque_wrapper.inc
+++ b/includes/tuque_wrapper.inc
@@ -240,11 +240,12 @@ class IslandoraFedoraObject extends FedoraObject {
return $ret;
}
catch (Exception $e) {
- watchdog('islandora', 'Failed to ingest object: @pidcode: @code
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: @pidcode: @code
message: @msg', array(
+ '@pid' => $object->id,
+ '@dsid' => $datastream->id,
+ '@code' => $e->getCode(),
+ '@msg' => $e->getMessage(),
+ ), WATCHDOG_ERROR);
throw $e;
}
}