Skip to content
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

Debugging components #21

Open
dagnelies opened this issue Oct 31, 2014 · 1 comment
Open

Debugging components #21

dagnelies opened this issue Oct 31, 2014 · 1 comment

Comments

@dagnelies
Copy link
Contributor

Hi,

Currently, loading a component is a bit flaky. As soon as there is a tiny error in it, it will fail to display (that's not really a problem, it's faulty) ...The issue is that there isn't even a single log line in order to know what's wrong and locate the error.

Cheers

@martypdx
Copy link
Contributor

EDITED: sorry, just realized what repo this was in.

@dagnelies - yes it can be tricky. Have you tried adding a "catch" then to the load?

Ractive.load().then(function(){
   // do loading stuff
}).then(null, function(err){
    console.error(err)
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants