diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2014-10-28 07:40:36 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2014-10-28 07:40:36 +0100 |
| commit | 272bb16b2d434090008d0759e10ff28bab96cb51 (patch) | |
| tree | 2bf6a867714bc0d8888d30f5053281a21f646c0b /lib/converter/html.php | |
| parent | 0c9b45d210a5d94b3ba219e32b73233a5a795f61 (diff) | |
| download | grauphel-272bb16b2d434090008d0759e10ff28bab96cb51.tar.gz grauphel-272bb16b2d434090008d0759e10ff28bab96cb51.zip | |
catch rendering exceptions
Diffstat (limited to 'lib/converter/html.php')
| -rw-r--r-- | lib/converter/html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/converter/html.php b/lib/converter/html.php index 1723a5b..eeb2b66 100644 --- a/lib/converter/html.php +++ b/lib/converter/html.php @@ -11,7 +11,7 @@ * @license http://www.gnu.org/licenses/agpl.html GNU AGPL v3 * @link http://cweiske.de/grauphel.htm */ -namespace OCA\Grauphel\Lib\Converter; +namespace OCA\Grauphel\Converter; use \XMLReader; /** @@ -121,7 +121,7 @@ class Html $store .= nl2br(htmlspecialchars($reader->value)); break; default: - throw new \Exception( + throw new Exception( 'Unsupported XML node type: ' . $reader->nodeType ); } |
