Permalink
Browse files

Added error output to the parsing operation.

  • Loading branch information...
1 parent a809a9b commit ab60a29e197551f24ac6b08e44bc19da4a09f9a6 @akoenig committed Apr 1, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/guru.js
  2. +1 −1 package.json
View
@@ -77,7 +77,7 @@ module.exports = (function() {
try {
resource.content = require(absolutePath);
} catch (e) {
- throw new Error('Lingua: Error while parsing the resource: ' + resource.locale);
+ throw new Error('Lingua: Error while parsing the resource: ' + resource.locale + " - " + e);
}
// DOCME
View
@@ -1,7 +1,7 @@
{
"name": "lingua",
"description": "An i18n middleware for the Express.js framework.",
- "version": "0.3.5",
+ "version": "0.3.6",
"repository": {
"type": "git",
"url": "git://github.com/akoenig/express-lingua.git"

0 comments on commit ab60a29

Please sign in to comment.