style: change error color
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
b6318cb8c1
commit
5844ca9e7d
@ -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