diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-22 15:41:03 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-22 15:41:03 -0400 |
| commit | 344c6526a8d6f490fc7628ddc7d2dd06ed1a07c1 (patch) | |
| tree | 342878ff5d77b557533d6e5473e1d8f6e79ac6e9 /pkg/data/update.go | |
| parent | faf35ef54885bc48b897508ce3cb40b868ff505b (diff) | |
Separate program entry point from commands
Diffstat (limited to 'pkg/data/update.go')
| -rw-r--r-- | pkg/data/update.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/data/update.go b/pkg/data/update.go index a8a4b3d..1a50563 100644 --- a/pkg/data/update.go +++ b/pkg/data/update.go @@ -201,6 +201,7 @@ func (u *UpdateMany) documents() (bool, error) { SELECT path FROM temp.updateDocs )`) if err != nil { + slog.Debug("Failed to remove missing files from index") return false, err } @@ -215,6 +216,7 @@ func (u *UpdateMany) documents() (bool, error) { WHERE excluded.fileTime > Documents.fileTime `) if err != nil { + slog.Debug("Failed document upsert") return false, err } |
