Logging improved

This commit is contained in:
nobody 2021-07-15 07:18:48 +02:00
parent d078ccb012
commit af5289fa34
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
if (bundle === 'MathJax (Bundle)' && filename !== 'MathJax.js') { if (bundle === 'MathJax (Bundle)' && filename !== 'MathJax.js') {
filename = channelPath.replace(Resource.MATHJAX, ''); filename = channelPath.replace(Resource.MATHJAX, '');
if (!MathJaxFiles[filename]) { if (!MathJaxFiles[filename]) {
console.warn(`[ LocalCDN ] Missing resource: ${targetPath}`); console.warn(`[ LocalCDN ] Missing resource: ${channelHost + channelPath}`);
log.append(initiator, channelHost + channelPath, '-', true); log.append(initiator, channelHost + channelPath, '-', true);
break; break;
} }