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

Redirect messes up system.js error reporting #1

Open
codefrau opened this issue Aug 4, 2017 · 0 comments
Open

Redirect messes up system.js error reporting #1

codefrau opened this issue Aug 4, 2017 · 0 comments

Comments

@codefrau
Copy link
Member

codefrau commented Aug 4, 2017

system.js tries to remove itself from error stack.
In addToError() it looks at $__curScript, which is
https://lively-next.org/lively.next-node_modules/systemjs/dist/system.src.js
(derived from the src tag of its own script element) but the stack trace has
https://lively-next.org/lively.next-node_modules/systemjs/0.19.47/dist/system.src.js
because of the HTTP/1.1 301 Moved Permanently server response.

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

1 participant