From 00408466390963d01fc1be8c381e9da5615666f1 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sat, 30 Apr 2022 22:12:17 +0300 Subject: [PATCH] tweak --- src/structure/client/Registry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }