Skip to content

[Bug]: 加载插件出现错误时不会提示 #240

Open
@zimuya4153

Description

@zimuya4153

Describe the bug

插件在加载时,如果出现错误,不会有任何的报错,并且还会显示已加载

Image

Image

To Reproduce

创建一个js插件,往其中写入以下内容,插件仅输出a并且没有任何报错则复现完成

logger.warn("a")
throw new Error("Test");
logger.warn("b");

Expected behavior

如果加载插件时出现错误,应该输出错误内容并停止加载

Screenshots

No response

Platform

Windows 10

BDS Version

Windows

LeviLamina Version

1.0.1

LegacyScriptEngine Version

0.9.7

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions