aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2015-03-31 22:13:11 +0200
committerMaZderMind2015-03-31 22:13:11 +0200
commit5b3788456f9e5b290eb2148af50b3f0a981a8923 (patch)
tree80dc86b991b0156b73786ef9e06e1d52f1a00622
parentd3c8802ff0d2dd2edcacfb66ed6c0cd5c16627b7 (diff)
Revert "Don't 500 when the Schedule is unreachable"
This reverts commit 72722fe3c6e88a683c07b5ee1989e61610d4b7aa.
-rw-r--r--model/Schedule.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/model/Schedule.php b/model/Schedule.php
index 3a9ee70..5c7858a 100644
--- a/model/Schedule.php
+++ b/model/Schedule.php
@@ -37,13 +37,7 @@ class Schedule extends ModelBase
return $schedule;
// download schedule-xml
- try {
- $schedule = $this->fetchSchedule();
- }
- catch(ErrorException $e)
- {
- return array();
- }
+ $schedule = $this->fetchSchedule();
$mapping = $this->getScheduleToRoomSlugMapping();
$program = array();