fix: classify database outages and restore real HTTP fault checks
Application / verify (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Vladislav Agapov
2026-10-16 10:19:46 +03:00
parent b90581f613
commit 87e1e5d94b
25 changed files with 449 additions and 16 deletions
+1 -1
View File
@@ -32,5 +32,5 @@ func (s *Store) RevokeSession(ctx context.Context, hash string) error {
ctx, cancel := context.WithTimeout(ctx, s.timeout)
defer cancel()
_, err := s.pool.Exec(ctx, `DELETE FROM sessions WHERE token_hash=@hash`, pgx.StrictNamedArgs{"hash": hash})
return err
return normalize(err)
}