Archived
1
0

Use error log level for plugin load failure

This commit is contained in:
Asher 2020-08-05 12:38:16 -05:00
parent 42467b3e66
commit fd36f8c168
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -28,7 +28,7 @@ const loadPlugin = async (pluginPath: string, httpServer: HttpServer, args: Args
if (error.code !== "MODULE_NOT_FOUND") { if (error.code !== "MODULE_NOT_FOUND") {
logger.warn(error.message) logger.warn(error.message)
} else { } else {
logger.debug(error.message) logger.error(error.message)
} }
} }
} }