This commit is contained in:
Erik 2022-04-30 22:12:17 +03:00
parent e9eb948d19
commit 0040846639
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -33,7 +33,7 @@ class Registry {
for(const path of files) {
const func = require(path);
if(typeof func !== 'function') {
this.logger.warn("Attempted to index an invalid function as a component.");
this.logger.warn(`Attempted to index an invalid function as a component: ${path}`);
delete require.cache[path];
continue;
}