From aa68ce120e7140eff77f17227bd326639add2fc0 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 22 Oct 2025 16:17:27 -0700 Subject: [PATCH] Update scheduler.py --- modules/scheduler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/scheduler.py b/modules/scheduler.py index 686ae0b..cef6ae6 100644 --- a/modules/scheduler.py +++ b/modules/scheduler.py @@ -67,7 +67,8 @@ async def setup_scheduler( send_message, tell_joke, welcome_message, handle_wxc, MOTD, schedulerChannel, schedulerInterface) logger.debug("System: Custom scheduler file imported and custom schedules set up.") - except ImportError: + except Exception as e: + logger.debug(f"System: Failed to import custom scheduler. {e}") logger.warning("Custom scheduler file not found or failed to import. cp ecp etc/custom_scheduler.py modules/custom_scheduler.py") # Start the Broadcast Scheduler