Skip to content

Commit

Permalink
added stack trace to plugin error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Messbauer committed Sep 19, 2013
1 parent c5a1e00 commit 2d758c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app.js
Expand Up @@ -26,7 +26,7 @@ App.prototype.init = function(callback) {
err = [];

var emitError = function() {
var msg = _.map(err, function(e) { return e.message; }).join('\\n');
var msg = _.map(err, function(e) { return e.message + ' ' + e.stack; }).join('\\n');
app.emit('error', new Error('Could not load plugin: ' + p.module + ', ' + msg));
};

Expand Down

0 comments on commit 2d758c5

Please sign in to comment.