Commit 92e0b4c2 authored by Penny Leach's avatar Penny Leach
Browse files

Made the ImportException a bit more robust

It currently non discriminately calls ->cleanup on its first argument,
the importer object, which may not actually be set yet
Signed-off-by: default avatarPenny Leach <>
parent f5d59450
......@@ -926,7 +926,9 @@ class ImportException extends SystemException {
public function __construct($importer, $message=null, $code=0) {
parent::__construct($message, $code);
if ($importer instanceof PluginImport) {
public function render_exception() {
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