From 439e9339e693fcf116ba41cb62cc831a2dc27f59 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 30 Apr 2024 10:46:54 -0600 Subject: [PATCH] fix: better warnings --- src/config/plugin.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config/plugin.ts b/src/config/plugin.ts index 7d68a7674..6fa46d9aa 100644 --- a/src/config/plugin.ts +++ b/src/config/plugin.ts @@ -350,6 +350,8 @@ export class Plugin implements IPlugin { scope && `task: ${scope}`, `plugin: ${this.name}`, `root: ${this.root}`, + ...(err.code ? [`code: ${err.code}`] : []), + ...(err.message ? [`message: ${err.message}`] : []), 'See more details with DEBUG=*', ]).join('\n') return err