From a2c3cabacc638294c840908582b0a4224a55388b Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Sat, 26 Oct 2019 16:38:38 +1030 Subject: [PATCH] improvement(module:graphql/index): switched error log debug->error --- app/graphql/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graphql/index.js b/app/graphql/index.js index e13310d35..d07f2cbcb 100644 --- a/app/graphql/index.js +++ b/app/graphql/index.js @@ -249,7 +249,7 @@ module.exports = function ( .catch(error => { // Ensure we aren't leaking anything in production if (process.env.NODE_ENV === 'production') { - log.debug(pluginOrModule, pluginOrModuleName, 'Error:', error.message); + log.error(pluginOrModule, pluginOrModuleName, 'Error:', error.message); return new Error(error.message); }