diff --git a/app/graphql/index.js b/app/graphql/index.js index 32246d893..bcf10e587 100644 --- a/app/graphql/index.js +++ b/app/graphql/index.js @@ -158,7 +158,7 @@ module.exports = function ($injector, fs, glob, get, graphql, graphqlDirective, return result; }) .catch(error => { - log.debug('%s: %s Error: %s', pluginName ? 'Plugin' : 'Module', pluginName || wantedModule, error.message); + log.debug('%s: %s Error: %s', pluginName ? 'Plugin' : 'Module', pluginName || moduleName, error.message); return error; }); }