remove bug with exception presenter (use of trait is good enough)

parent 534e4dab
Pipeline #6999 canceled with stages
......@@ -163,19 +163,4 @@ class conversionRule
return $this->json->save();
}
/**
* Cluster exception
* @param digitalResource/Exception/conversionRuleException $conversionRuleException
*
* @return string
*/
public function conversionRuleException($conversionRuleException)
{
$this->json->message = $conversionRuleException->getMessage();
$this->json->message = $this->translator->getText($this->json->message);
$this->json->status = false;
return $this->json->save();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment