Import / Export - fix error messages were sometimes not displayed

This commit is contained in:
nathangray 2017-03-20 11:36:17 -06:00
parent 188add7671
commit def658f3f2

View File

@ -186,6 +186,8 @@ use EGroupware\Api\Etemplate;
unset($dst_file);
}
} catch (Api\Db\Exception $db_ex) {
$this->message .= lang('Database error');
} catch (Exception $e) {
$this->message .= $e->getMessage();
}