diff --git a/lib/plugins.js b/lib/plugins.js index 54644285..73d01813 100644 --- a/lib/plugins.js +++ b/lib/plugins.js @@ -84,6 +84,7 @@ function loadPlugin (name, config) { try { plugin = require('lamassu-' + name) } catch (err) { + logger.debug(err.stack) if (err.code === 'MODULE_NOT_FOUND') { throw new Error(name + ' module is not installed. ' + 'Try running \'npm install --save lamassu-' + name + '\' first')