New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请清除 console.log 信息。 #30
Comments
这么多乱七八糟的信息,严重影响调试。 emit afterRetry
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit afterRetry
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit retry
emit afterRetry
emit error
emit complete
null
{ [TypeError: Cannot read property 'Location' of null] statusCode: 404, retryable: false }
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit afterRetry
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit afterRetry
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit retry
emit afterRetry
emit error
emit complete
null
{ [TypeError: Cannot read property 'Location' of null] statusCode: 404, retryable: false }
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit afterRetry
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit afterRetry
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit error
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg
emit complete
null
[TypeError: Cannot read property 'Location' of null]
5bb0271d743ee080126028856b6bd23bc6153409.jpg |
并且出错了,还在不断的循环。 |
hi, 在环境变量 DEBUG=1 时会输出 log 信息,这的确有点问题,我会在下一个版本改掉。关于出错的地方,你能否提供更详细的信息 |
主要是你们在接收数据流的时候打印了信息。 |
原打算清除掉console.log,发现你们是放在判断里面的。 现在我只要一调用测试,就会出来一堆打印信息。 |
看到你们的动作这么迟缓,已经新发布了一个包, 叫aliyun-sdk-clean. |
请说明一下关闭的理由。如果已经修复,请给出修复的提交版本,即hash值。 |
ping @chylvina |
作为基础库,是不能够随便打印信息出来的。
如果遇到错误,请直接抛出异常,如果不是,请不要随便打印信息。
如果你们内部测试用了console.log
请在发布时将console.log删除。
谢谢。
The text was updated successfully, but these errors were encountered: