chore: auto-commit from dashboard
This commit is contained in:
@@ -329,7 +329,9 @@ class Scheduler:
|
||||
self._save_jobs()
|
||||
|
||||
# Send output via callback
|
||||
if self._send_callback and result_text:
|
||||
if not result_text:
|
||||
logger.warning("Job '%s' produced empty result, skipping send", name)
|
||||
elif self._send_callback:
|
||||
try:
|
||||
await self._send_callback(job["channel"], result_text)
|
||||
except Exception as exc:
|
||||
|
||||
Reference in New Issue
Block a user