{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/430","labels_url":"https://api.github.com/repos/systemjs/systemjs/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/systemjs/issues/430/comments","events_url":"https://api.github.com/repos/systemjs/systemjs/issues/430/events","html_url":"https://github.com/systemjs/systemjs/issues/430","id":72121747,"number":430,"title":"Print console error in case SystemJS failed to load dependencies","user":{"login":"subesokun","id":6920421,"avatar_url":"https://avatars.githubusercontent.com/u/6920421?v=3","gravatar_id":"","url":"https://api.github.com/users/subesokun","html_url":"https://github.com/subesokun","followers_url":"https://api.github.com/users/subesokun/followers","following_url":"https://api.github.com/users/subesokun/following{/other_user}","gists_url":"https://api.github.com/users/subesokun/gists{/gist_id}","starred_url":"https://api.github.com/users/subesokun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subesokun/subscriptions","organizations_url":"https://api.github.com/users/subesokun/orgs","repos_url":"https://api.github.com/users/subesokun/repos","events_url":"https://api.github.com/users/subesokun/events{/privacy}","received_events_url":"https://api.github.com/users/subesokun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-30T10:24:33Z","updated_at":"2015-05-02T14:11:46Z","closed_at":null,"body":"Would it be possible to print an extra console error in case SystemJS failed to load the dependencies? In my case I was using bundle-sfx of jspm and in the error console I was seeing an error but accidentally misinterpreted it (I didn't have a close look on the stack trace) and thought everything went fine with loading the dependencies. So it took me a while until I've noticed that this error was preventing SystemJS to load all dependencies and I was debugging into the wrong direction. Sadly my application is also loading stuff without jspm so the app started half way hence it was not obvious to me that something went wrong with loading the dependencies.\r\n\r\nI think adding a console error like `Failed to import dependencies due to an uncaught exception`, `Failed to import module endp:xyz`, ... or similar would help making clear that not all dependencies have been loaded and you should better have a look on it. Does this makes sense?"},"comment":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/comments/98363742","html_url":"https://github.com/systemjs/systemjs/issues/430#issuecomment-98363742","issue_url":"https://api.github.com/repos/systemjs/systemjs/issues/430","id":98363742,"user":{"login":"subesokun","id":6920421,"avatar_url":"https://avatars.githubusercontent.com/u/6920421?v=3","gravatar_id":"","url":"https://api.github.com/users/subesokun","html_url":"https://github.com/subesokun","followers_url":"https://api.github.com/users/subesokun/followers","following_url":"https://api.github.com/users/subesokun/following{/other_user}","gists_url":"https://api.github.com/users/subesokun/gists{/gist_id}","starred_url":"https://api.github.com/users/subesokun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subesokun/subscriptions","organizations_url":"https://api.github.com/users/subesokun/orgs","repos_url":"https://api.github.com/users/subesokun/repos","events_url":"https://api.github.com/users/subesokun/events{/privacy}","received_events_url":"https://api.github.com/users/subesokun/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T14:11:46Z","updated_at":"2015-05-02T14:11:46Z","body":"@guybedford Seeing a message telling that the import has failed would have helped definitely. But when adding this error on top of the stack you'd need to expand the error stack to see the root cause or? Maybe then a error message like `System SFX bundle import of xyz failed. See error stack for root cause.` would be helpful not that people will overlook the error that caused the import to fail.\r\n\r\nI'm wondering if in general (not only bundle sfx) such bundle import error would be helpful in case you don't have added the `catch` statement when calling `System.import`."}}