mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Profile legacy extension handlers
This commit is contained in:
@@ -565,8 +565,12 @@ api.addAssets('${relPath}', 'client').`);
|
||||
addAsset: addAsset
|
||||
});
|
||||
|
||||
const handler = buildmessage.markBoundary(classification.legacyHandler);
|
||||
|
||||
try {
|
||||
(buildmessage.markBoundary(classification.legacyHandler))(compileStep);
|
||||
Profile.time(`legacy handler (.${classification.extension})`, () => {
|
||||
handler(compileStep);
|
||||
});
|
||||
} catch (e) {
|
||||
e.message = e.message + " (compiling " + relPath + ")";
|
||||
buildmessage.exception(e);
|
||||
|
||||
Reference in New Issue
Block a user