mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Fixed error reporting
This commit is contained in:
parent
71706fea9c
commit
24929b8734
@ -66,7 +66,7 @@ TemplateCompiler.prototype = {
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
throw createError(new Error('Unable to compile template at path "' + templateBuilder.filePath + '". Error: ' + e.message), e);
|
||||
throw createError(new Error('Unable to compile template at path "' + _this.path + '". Error: ' + e.message), e);
|
||||
}
|
||||
/*
|
||||
* Now process the child nodes by looping over the child nodes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user