Commit e4446725 authored by Penny Leach's avatar Penny Leach
Browse files

import exception is allowed to use its own messages rather than the bug message

parent 51d8bc9a
......@@ -787,7 +787,13 @@ class AccessDeniedException extends UserException {
* or it's a queued fetch, in which case CRON will be defined.
* @todo maybe refactor at the point that we have something other than importing over mnet (eg userland)
*/
class ImportException extends SystemException { }
class ImportException extends SystemException {
public function render_exception() {
return $this->getMessage();
}
}
?>
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