fix(cron): log CreateLongerRecords errors (#1926)

chore(cron): comment cron tasks with pocketbase warning
This commit is contained in:
Lars Lehtonen
2026-08-14 07:40:28 -07:00
committed by GitHub
parent cf90249519
commit 6d0b83f6de
2 changed files with 6 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ import (
// Delete old records
func (rm *RecordManager) DeleteOldRecords() {
// Pocketbase cron does not handle errors, log them here.
rm.app.RunInTransaction(func(txApp core.App) error {
err := deleteOldSystemStats(txApp)
if err != nil {