Skip to content
This repository was archived by the owner on Dec 20, 2017. It is now read-only.
This repository was archived by the owner on Dec 20, 2017. It is now read-only.

部署工具的必现bug #105

@GongT

Description

@GongT

https://github.com/leancloud/avoscloud-code-command/blob/master/bin/run.js#L214
error: function(err) {
console.log(err);
}

如果某次查询日志刚好出错,那么既没有调用cb结束程序,也没有调用doLoop重试查询。
只是打印了一堆不明所以的东西(比如打印了一个leancloud首页的html)
因为没有其他回调了,程序就会正常退出,导致完全无法理解的情况。。。。
本地看起来部署过程突然中断,实际并没有出什么问题。。。

按说应该等几秒重新doLoop才对
opsToken这个东西希望可以重用,比如重新运行部署可以输出“运维操作进行中,opsToken=xxxxx”
或者直接继续运行loopLogs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions