Title: Silent errors in test.ts · Issue #2640 · angular/angular-cli · GitHub
Open Graph Title: Silent errors in test.ts · Issue #2640 · angular/angular-cli
X Title: Silent errors in test.ts · Issue #2640 · angular/angular-cli
Description: I'm using angular-cli@1.0.0-beta.16, node@6.5.0 and karma@1.2.0 (on OS X El Capitan). When an exception is thrown while the spec files and their dependencies are loaded in test.ts, the output __karma__.error() is barely helpful. In Chrom...
Open Graph Description: I'm using angular-cli@1.0.0-beta.16, node@6.5.0 and karma@1.2.0 (on OS X El Capitan). When an exception is thrown while the spec files and their dependencies are loaded in test.ts, the output __kar...
X Description: I'm using angular-cli@1.0.0-beta.16, node@6.5.0 and karma@1.2.0 (on OS X El Capitan). When an exception is thrown while the spec files and their dependencies are loaded in test.ts, the output _...
Opengraph URL: https://github.com/angular/angular-cli/issues/2640
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Silent errors in test.ts","articleBody":"I'm using angular-cli@1.0.0-beta.16, node@6.5.0 and karma@1.2.0 (on OS X El Capitan).\n\nWhen an exception is thrown while the spec files and their dependencies are loaded in [test.ts](https://github.com/angular/angular-cli/blob/master/packages/angular-cli/blueprints/ng2/files/__path__/test.ts#L32), the output `__karma__.error()` is barely helpful. In Chrome only 'ERROR' is printed to the node console and it's close to impossible to break on such a caught exception due to too many false positives. PhantomJS prints out a error stack but not the error message.\n\nIt would be great if you could log the error before re-throwing it.\n\nIn my case, @ngrx/effects@1.1.1 wasn't compatible with @angular@2.0.1, which was difficult to spot without sufficient error logging.\n","author":{"url":"https://github.com/renehamburger","@type":"Person","name":"renehamburger"},"datePublished":"2016-10-11T09:42:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2640/angular-cli/issues/2640"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0026fd66-6838-0183-3a4e-f0e283c56ef0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACD4:2C62EA:A94BEF:E9AABF:69775F9B |
| html-safe-nonce | 4cce48fcd8a1030c0c7f4f6255bc35487c9162b091b35e991955dfd0b41c9e38 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0Q0OjJDNjJFQTpBOTRCRUY6RTlBQUJGOjY5Nzc1RjlCIiwidmlzaXRvcl9pZCI6IjM5MTIyMjQwMzE2NzA0OTMwODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 52e6e2a17224a05a8209ec59463c2974475a44b2085a65ca509b6aabb883e495 |
| hovercard-subject-tag | issue:182219730 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/2640/issue_layout |
| twitter:image | https://opengraph.githubassets.com/073599707184687d8eaf7bf981b4b51e083ee1e3b1a955e762091f24c93ce2d5/angular/angular-cli/issues/2640 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/073599707184687d8eaf7bf981b4b51e083ee1e3b1a955e762091f24c93ce2d5/angular/angular-cli/issues/2640 |
| og:image:alt | I'm using angular-cli@1.0.0-beta.16, node@6.5.0 and karma@1.2.0 (on OS X El Capitan). When an exception is thrown while the spec files and their dependencies are loaded in test.ts, the output __kar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | renehamburger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5a8480d78b6eaf851f2885fca5114ea5650621e2e77087cd43b0a647867014fb |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d6bbe5e9ce3cd2d8b53b6f1234f8df1d68014bf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width