Dojo console error objects empty

2019-07-04 19:12发布

All of a sudden the errors that Dojo (1.8.3 from Google CDN) is spitting out empty errors, which makes debugging impossibly hard. For example, if I forget to require a dependent before using it, I get the usual

> dojo/parser::parse() error ReferenceError {} 

... in the error console, but I remember getting more information in the ReferenceError (spindown arrow was present), giving me the arguments of the error as well as the message making it easy to figure out what I had done wrong.

I have isDebug : true in my dojoConfig, but it just doesn't want to tell me anything anymore.

What gives?

1条回答
我只想做你的唯一
2楼-- · 2019-07-04 20:06

I've been having the same problem using Dojo 1.8.3 as well. When I close my developer tool's console and then re-open it the Error had the spindown and more details as expected. Seems stupid, but give it a try and see if that at "fixes" it for you. I planned on digging a little further into this later, so if I find any additional details I will make sure to update my answer with them.

查看更多
登录 后发表回答