Skip to content
Discussion options

You must be logged in to vote

target 或者搞个 rule ,里面 before_build 加个 os.atexit , 处理下错误。

    before_build(function (target)
        os.atexit(function (ok, error)
            -- TODO
        end)
    end)

原始错误还是会输出,但通过这个你可以再显示一份格式化的。。

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Patrick-Ze
Comment options

@waruqi
Comment options

@Patrick-Ze
Comment options

Answer selected by Patrick-Ze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants