minio connection log

This commit is contained in:
Mazyar
2026-05-16 14:08:58 +03:30
parent 6701428b09
commit bcb345103f
5 changed files with 186 additions and 18 deletions
+4
View File
@@ -27,6 +27,10 @@ var (
// ErrBucketNotFound is returned when the MinIO bucket does not exist.
ErrBucketNotFound = errors.New("ai_summarizer: bucket not found")
// ErrMinIOUnavailable is returned when MinIO cannot be reached (network,
// timeout, connection refused, etc.) as opposed to a missing object key.
ErrMinIOUnavailable = errors.New("ai_summarizer: MinIO connection unavailable")
// ErrAPINonSuccess is returned when the AI API returns a non-2xx status code.
ErrAPINonSuccess = errors.New("ai_summarizer: API returned non-success status")
)