Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better reporting for js syntax errors
Big hack, but if we could catch the syntax errors, we could apply a real lineno to the stack trace. At least this exposes the contents of the line
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ users | |
- user.roles.forEach(function(role){ | ||
role= role | ||
- }) | ||
- }) | ||
- }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters