[Pkg-javascript-commits] [ltx] 223/469: parse: silently drop unavailable parser backends

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:06 UTC 2016


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

js pushed a commit to branch master
in repository ltx.

commit 26da3f0e3188e25b9187966b1e5ac3766ed9d174
Author: Astro <astro at spaceboyz.net>
Date:   Tue Mar 20 02:59:22 2012 +0100

    parse: silently drop unavailable parser backends
---
 lib/parse.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/parse.js b/lib/parse.js
index e196179..293f238 100644
--- a/lib/parse.js
+++ b/lib/parse.js
@@ -8,7 +8,9 @@ exports.bestSaxParser = null;
     try {
 	mod = require(modName);
     } catch (e) {
+	/* Silently missing libraries drop; for debug:
 	console.error(e.stack || e);
+	 */
     }
     if (mod) {
 	exports.availableSaxParsers.push(mod);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list