style: change error color
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
0ed3f1fbd5
commit
1ea8966f26
@ -122,7 +122,7 @@ export class MiaoScriptConsole implements Console {
|
|||||||
}
|
}
|
||||||
stack(ex: Error): string[] {
|
stack(ex: Error): string[] {
|
||||||
var stack = ex.getStackTrace();
|
var stack = ex.getStackTrace();
|
||||||
var cache = ['§4' + ex];
|
var cache = ['§c' + ex];
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
if (stack.class) {
|
if (stack.class) {
|
||||||
stack = Arrays.asList(stack)
|
stack = Arrays.asList(stack)
|
||||||
|
Loading…
Reference in New Issue
Block a user