diff --git a/src/structure/client/Registry.js b/src/structure/client/Registry.js index bc5e616..f033821 100644 --- a/src/structure/client/Registry.js +++ b/src/structure/client/Registry.js @@ -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; }