Skip to content

Commit

Permalink
- Migration vers node-restify 2.
Browse files Browse the repository at this point in the history
- Dump des objets d'erreures de l'autoloader.
  • Loading branch information
Alexandre Ravey committed Jul 9, 2013
1 parent a797e6d commit 09b8e12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = function (options) {
} catch (err) {
if (logger) {
if (err.code === 'MODULE_NOT_FOUND') {
logger.warn('Composant %s non trouvé (%s)', file, path + file);
logger.warn({err: err}, 'Composant %s non trouvé (%s)', file, path + file);
} else {
logger.error({err: err}, 'Erreur inconnue au chargement du composant %s (%s)', file, path + file);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "g-autoloader",
"version": "0.0.2",
"version": "0.0.3",
"description": "Chargeur automatique pour les composants. Chargement pro actif ou à la demande.",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 09b8e12

Please sign in to comment.