← Back to team overview

mahara-contributors team mailing list archive

[Bug 547840] Re: exception() makes assumptions about caught exception types

 

** Changed in: mahara
       Status: Confirmed => Triaged

-- 
exception() makes assumptions about caught exception types
https://bugs.launchpad.net/bugs/547840
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Triaged

Bug description:
The line $e->handle_exception() is assuming that the exception is a MaharaException, when it could be something else. That should be fixed, perhaps by making it a SystemException (the same way as is done above that line if $USER is available).

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=715&group_id=176&atid=739