mozilla/addon-sdk — pull request #528 by dcrewi (2012-08-20 23:49:57+00:00)
Title: temporary mitigation of bug 551604

The file name and line number *are* included the `SyntaxError` object thrown from `require()`. The problem is that the information isn't included in the stack trace nor in the error message. This commit appends that info to the error message. It's sort of a hack, but it gets the job done for now and will hold until something better is implemented.