mirror of
https://github.com/coder/code-server.git
synced 2026-05-05 03:55:18 +02:00
Use error log level for plugin load failure
This commit is contained in:
@@ -28,7 +28,7 @@ const loadPlugin = async (pluginPath: string, httpServer: HttpServer, args: Args
|
||||
if (error.code !== "MODULE_NOT_FOUND") {
|
||||
logger.warn(error.message)
|
||||
} else {
|
||||
logger.debug(error.message)
|
||||
logger.error(error.message)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user