private static function emailError($message) { PHPWS_Core::initModClass('hms', 'HMS_Email.php'); //$to = HMSSettings::getUberAdminEmail(); $to = HMS_Email::get_tech_contacts(); $tags = array('MESSAGE' => $message); HMS_Email::send_template_message($to, '[hms] Uncaught Report Exception', 'email/UncaughtException.tpl', $tags); }