Logging for missing MathJax files added
This commit is contained in:
parent
255fe35eaf
commit
cf230fb9ff
|
@ -180,6 +180,8 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
|||
if (bundle === 'MathJax (Bundle)' && filename !== 'MathJax.js') {
|
||||
filename = channelPath.replace(Resource.MATHJAX, '');
|
||||
if (!MathJaxFiles[filename]) {
|
||||
console.warn(`[ LocalCDN ] Missing resource: ${targetPath}`);
|
||||
log.append(initiator, channelHost + channelPath, '-', true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue