mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Fixing error handling bug resulting from typo
This commit is contained in:
parent
adf0b5de41
commit
6ac26ef423
@ -105,7 +105,7 @@ TemplateCompiler.prototype = {
|
||||
if (callback) {
|
||||
return callback.call(thisObj, err);
|
||||
} else {
|
||||
throw error;
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user