From 5844ca9e7d4197bc25611126bf3cdfc5f944554f Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Tue, 24 Mar 2020 13:26:15 +0800 Subject: [PATCH] style: change error color Signed-off-by: MiaoWoo --- packages/api/src/console.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/console.ts b/packages/api/src/console.ts index 744e44f8..f4b07274 100644 --- a/packages/api/src/console.ts +++ b/packages/api/src/console.ts @@ -122,7 +122,7 @@ export class MiaoScriptConsole implements Console { } stack(ex: Error): string[] { var stack = ex.getStackTrace(); - var cache = ['§4' + ex]; + var cache = ['§c' + ex]; //@ts-ignore if (stack.class) { stack = Arrays.asList(stack)