mirror of
https://github.com/sern-handler/handler
synced 2026-06-24 08:42:17 +00:00
ksdjkldsfld
This commit is contained in:
@@ -61,7 +61,7 @@ export class Cron extends EventEmitter {
|
||||
|
||||
//@ts-ignore
|
||||
if(!cron.validate(module.pattern)) {
|
||||
throw Error("Invalid cron expression while adding")
|
||||
throw Error("Invalid cron expression while adding " + module.name)
|
||||
}
|
||||
this.modules.set(module.name!, module as CronEventCommand);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user