From ca73b271fd928364ff06e2765401747c17f30b4a Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Wed, 14 Oct 2020 14:32:44 -0300 Subject: [PATCH] Spaces needed in error messages. (#801) I MERGE! --- src/Plugin/Action/AbstractGenerateDerivative.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin/Action/AbstractGenerateDerivative.php b/src/Plugin/Action/AbstractGenerateDerivative.php index fa41f7ff..7efb4f2c 100644 --- a/src/Plugin/Action/AbstractGenerateDerivative.php +++ b/src/Plugin/Action/AbstractGenerateDerivative.php @@ -142,7 +142,7 @@ class AbstractGenerateDerivative extends EmitEvent { // url in the data array. $source_term = $this->utils->getTermForUri($this->configuration['source_term_uri']); if (!$source_term) { - throw new \RuntimeException("Could not locate source term with uri" . $this->configuration['source_term_uri'], 500); + throw new \RuntimeException("Could not locate source term with uri: " . $this->configuration['source_term_uri'], 500); } $source_media = $this->utils->getMediaWithTerm($entity, $source_term); @@ -161,7 +161,7 @@ class AbstractGenerateDerivative extends EmitEvent { // in the data array. $derivative_term = $this->utils->getTermForUri($this->configuration['derivative_term_uri']); if (!$derivative_term) { - throw new \RuntimeException("Could not locate derivative term with uri" . $this->configuration['derivative_term_uri'], 500); + throw new \RuntimeException("Could not locate taxonomy term with uri: " . $this->configuration['derivative_term_uri'], 500); } $route_params = [