[Pkg-owncloud-commits] [php-sabre-vobject] 51/128: Catching a more specific exception. Issue #74.

David Prévot taffit at moszumanska.debian.org
Tue May 20 23:11:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit 37f4bd809c4a5cdf5002bf15aa8428a5240745f2
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Wed Jan 22 21:02:27 2014 -0500

    Catching a more specific exception. Issue #74.
---
 lib/Sabre/VObject/RecurrenceIterator.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Sabre/VObject/RecurrenceIterator.php b/lib/Sabre/VObject/RecurrenceIterator.php
index 9166357..eb8d866 100644
--- a/lib/Sabre/VObject/RecurrenceIterator.php
+++ b/lib/Sabre/VObject/RecurrenceIterator.php
@@ -467,7 +467,7 @@ class RecurrenceIterator implements \Iterator {
                     try {
                         $this->exceptionDates[] =
                             DateTimeParser::parse($exceptionDate, $this->startDate->getTimeZone());
-                    } catch (Exception $e) {
+                    } catch (\LogicException $e) {
                     }
 
                 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git



More information about the Pkg-owncloud-commits mailing list