evanw / evanw/node-source-map-support

Stack trace URls not clickable

Aperta
#72 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.2k
Fork
223
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

As noted in https://github.com/petkaantonov/bluebird/issues/363, the `file:line-number` entries in the error stack trace generated by `souce-map-support` are not clickable in Chrome.

This is because `source-map-support` is generating:

```
Unhandled rejection Error: oops!
at Route.willTransitionTo [as onEnter] (components/outcomes-component.js:29:21)
```

Instead of:

```
Unhandled rejection Error: oops!
at Route.willTransitionTo [as onEnter] (http://localhost:8080/components/outcomes-component.js:29:21)
```

Prefixing the paths with the page origin should solve the problem.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.