Skip to content

Commit 439e933

Browse files
committedApr 30, 2024··
fix: better warnings
1 parent 31e784b commit 439e933

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/config/plugin.ts

+2
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ export class Plugin implements IPlugin {
350350
scope && `task: ${scope}`,
351351
`plugin: ${this.name}`,
352352
`root: ${this.root}`,
353+
...(err.code ? [`code: ${err.code}`] : []),
354+
...(err.message ? [`message: ${err.message}`] : []),
353355
'See more details with DEBUG=*',
354356
]).join('\n')
355357
return err

0 commit comments

Comments
 (0)
Please sign in to comment.