diff --git a/text.js b/text.js index b8370d6..297ae2d 100644 --- a/text.js +++ b/text.js @@ -216,6 +216,10 @@ define(['module'], function (module) { req([nonStripName], function (content) { text.finishLoad(parsed.moduleName + '.' + parsed.ext, parsed.strip, content, onLoad); + }, function (err) { + if (onLoad.error) { + onLoad.error(err); + } }); } },