[Loris-dev] PEAR error reporting

Tom Beaudry waveflux at gmail.com
Mon Jun 5 14:57:00 EDT 2017


Hi Guys,

What's the new way to do PEAR error reporting in 17.02 / LORISForms?

I have an instrument with a score function that contains:

 //get the saved scores
        $db =& Database::singleton();
        if(PEAR::isError($db)) {
                        return PEAR::raiseError ("Could not connect to
database".$db->getMessage());
        }


What should it be changed to?

Thanks!
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20170605/6c719f41/attachment.html>


More information about the Loris-dev mailing list