mirror of
https://github.com/unraid/api.git
synced 2026-01-22 08:29:42 -06:00
improvement(module:graphql/index): switched error log debug->error
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user