diff options
| author | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2026-07-06 21:58:06 +0200 |
|---|---|---|
| committer | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2026-07-06 21:58:06 +0200 |
| commit | 1043b58c164ac48757cdb373967ead2b34aa7388 (patch) | |
| tree | bc8286a404c17a5eec6a0de9b9adb1aa6201a413 /Dockerfile | |
| parent | 5a2d70be3ce8524c366f4dd303b950974f05aa7c (diff) | |
| download | sourcewatch-1043b58c164ac48757cdb373967ead2b34aa7388.tar.gz sourcewatch-1043b58c164ac48757cdb373967ead2b34aa7388.zip | |
Add structured error handling with retry logic
- errors.go: retry wrapper for transient errors (ENOENT),
structured error logging (disk full, permission denied, symlink loops)
- sync.go: continue on individual file errors, log clearly, skip broken
symlinks instead of failing entire sync
- watcher.go: log all errors with context, handle readlink failures
- Added 11 tests for error handling scenarios
- 50 tests passing
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions
