mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
"app/" in stack traces was an artifact of how we lay out files in the built server, not how the source files are laid out, and isn't actually as good as just using the source file name. Slava improved this on this branch by just using the real file name. So the test (newly merged from devel) needs to be improved to match. While we're at it, let's test for filenames in a package.
6 lines
138 B
JavaScript
6 lines
138 B
JavaScript
if (Meteor.isServer) {
|
|
process.env.THROW_FROM_PACKAGE || Meteor.startup(function () {
|
|
throw new Error("Should be line 3!");
|
|
});
|
|
}
|