From cc25fd25491cbf712ea3170d0d422c35aabace39 Mon Sep 17 00:00:00 2001 From: Jared Whiklo Date: Tue, 30 May 2017 08:30:49 -0500 Subject: [PATCH] Revert "Use the replacements and less pasta." --- includes/tuque_wrapper.inc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/includes/tuque_wrapper.inc b/includes/tuque_wrapper.inc index 8c21b4ed..15d436aa 100644 --- a/includes/tuque_wrapper.inc +++ b/includes/tuque_wrapper.inc @@ -240,12 +240,11 @@ class IslandoraFedoraObject extends FedoraObject { return $ret; } catch (Exception $e) { - watchdog('islandora', 'Failed to ingest datastream @datastream on object: @pid
code: @code
message: @msg', array( - '@pid' => $object->id, - '@dsid' => $datastream->id, - '@code' => $e->getCode(), - '@msg' => $e->getMessage(), - ), WATCHDOG_ERROR); + watchdog('islandora', 'Failed to ingest object: @pid
code: @code
message: @msg', array( + '@pid' => $object->id, + '@dsid' => $datastream->id, + '@code' => $e->getCode(), + '@msg' => $e->getMessage()), WATCHDOG_ERROR); throw $e; } }