Skip to content

Commit c2ac126

Browse files
committed
Log all plugin errors as errors
1 parent ddda280 commit c2ac126

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/node/plugin.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@ const loadPlugin = async (pluginPath: string, httpServer: HttpServer, args: Args
4141
field("version", require(path.join(pluginPath, "package.json")).version || "n/a"),
4242
)
4343
} catch (error) {
44-
if (error.code !== "MODULE_NOT_FOUND") {
45-
logger.warn(error.message)
46-
} else {
47-
logger.error(error.message)
48-
}
44+
logger.error(error.message)
4945
}
5046
}
5147

0 commit comments

Comments
 (0)