Commit 9e62537c authored by Penny Leach's avatar Penny Leach
Browse files

LEAP Export: use the right exception and pass it the right argument

Signed-off-by: default avatarPenny Leach <>
parent 7e2873f7
......@@ -466,7 +466,7 @@ class LeapExportElement {
// LeapExportElement and are using it to represent something more
// than just one artefact. In this case, you must override this
// method.
throw new ImportException("LeapExportElement::assign_smarty_vars was called with null artefact. "
throw new ExportException($this, "LeapExportElement::assign_smarty_vars was called with null artefact. "
. "If you are using LeapExportElement as a dummy class for exporting more than one artefact, "
. "you must override assign_smarty_vars yourself.");
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