mirror of
https://github.com/cdr/code-server.git
synced 2026-05-08 12:30:40 +02:00
Use error log level for plugin load failure
This commit is contained in:
parent
42467b3e66
commit
fd36f8c168
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue