[Pkg-owncloud-commits] [php-sabre-vobject] 91/341: !xml Update an exception message.

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 13:35:37 UTC 2015


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 a655fca3883b363899718a16ac9debaac4e1e170
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date:   Mon Nov 24 18:17:23 2014 +0100

    !xml Update an exception message.
---
 lib/Parser/XML.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Parser/XML.php b/lib/Parser/XML.php
index f1714fc..393dd93 100644
--- a/lib/Parser/XML.php
+++ b/lib/Parser/XML.php
@@ -179,7 +179,7 @@ class XML extends Parser {
                     break;
 
                 default:
-                    throw new \Exception('Oops');
+                    throw new \Exception('XML is not well-formed: unexpected tag ' . $children['name']);
             }
         }
     }

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