diff --git a/modules/electrophysiology_browser/php/sessions.class.inc b/modules/electrophysiology_browser/php/sessions.class.inc index 1fb33d2fa79..9812d1a7a03 100644 --- a/modules/electrophysiology_browser/php/sessions.class.inc +++ b/modules/electrophysiology_browser/php/sessions.class.inc @@ -76,14 +76,9 @@ class Sessions extends \NDB_Page throw new \DomainException("Invalid session"); } $session_id = intval($matches[1]); - try { - $this->timepoint = \NDB_Factory::singleton()->timepoint( - $session_id - ); - $this->sessionID = $session_id; - } catch(\LorisException $e) { - throw $e; - } + + $this->timepoint = \NDB_Factory::singleton()->timepoint($session_id); + $this->sessionID = $session_id; $candID = $this->timepoint->getCandID(); $this->candidate = \Candidate::singleton($candID);