Skip to content

Commit

Permalink
Clarify the log message when there's an error parsing an event's time…
Browse files Browse the repository at this point in the history
…zone
  • Loading branch information
smokris committed Jul 12, 2021
1 parent 1704da0 commit 7e9c51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ public function toiCalendar($calendar, $includeFiles = true)
}
$params['TZID'] = $this->timezone;
} catch (Horde_Exception $e) {
Horde::log('Unable to locate the tz database.', 'WARN');
Horde::log('Unable to parse timezone for event ID ' . $this->_id . ': ' . $e, 'WARN');
}
}

Expand Down

0 comments on commit 7e9c51b

Please sign in to comment.