[Pkg-owncloud-commits] [php-sabre-vobject] 31/38: Exception wording

David Prévot taffit at moszumanska.debian.org
Tue Sep 23 03:10:23 UTC 2014


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

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

commit 0f01cd172bcb4c6586ed77db0f42e2eac4a4383e
Author: Dominik Tobschall <dominik at fruux.com>
Date:   Fri Sep 19 13:44:40 2014 +0200

    Exception wording
---
 lib/Splitter/ICalendar.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Splitter/ICalendar.php b/lib/Splitter/ICalendar.php
index a58e0a6..9a70832 100644
--- a/lib/Splitter/ICalendar.php
+++ b/lib/Splitter/ICalendar.php
@@ -51,7 +51,7 @@ class ICalendar implements SplitterInterface {
         $components = array();
 
         if (!$data instanceof VObject\Component\VCalendar) {
-            throw new VObject\ParseException('The supplied input is no VCALENDAR.');
+            throw new VObject\ParseException('Supplied input could not be parsed as VCALENDAR.');
         }
 
         foreach($data->children() as $component) {

-- 
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