We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94e5564 commit 85ee62cCopy full SHA for 85ee62c
tools/transpiler/gulp-traceur.js
@@ -20,6 +20,7 @@ function gulpTraceur(options, resolveModuleName) {
20
}
21
22
try {
23
+ var originalFilePath = file.history[0];
24
var moduleName = resolveModuleName ? resolveModuleName(file.relative) : null;
25
var compiled = compiler.compile(options, {
26
inputPath: file.relative,
@@ -33,6 +34,7 @@ function gulpTraceur(options, resolveModuleName) {
33
34
if (errors.join) {
35
throw new Error('gulp-traceur: '+errors.join('\n'));
36
} else {
37
+ console.error('Error when transpiling:\n ' + originalFilePath);
38
throw errors;
39
40
0 commit comments