diff options
author | 2023-06-03 13:58:57 +0200 | |
---|---|---|
committer | 2023-06-03 13:58:57 +0200 | |
commit | 21c1552daafbcedbd2e19b0c155ff8db9cff2be0 (patch) | |
tree | 00d945280a72d30d51acb618ad7257432d1f9e1a /internal/cache | |
parent | [bugfix] Fix first item of thread dereferencing always being skipped (#1858) (diff) | |
download | gotosocial-21c1552daafbcedbd2e19b0c155ff8db9cff2be0.tar.xz |
[chore] Update versions, fix lint errors (#1860)
Diffstat (limited to 'internal/cache')
-rw-r--r-- | internal/cache/util.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cache/util.go b/internal/cache/util.go index 2d7badf68..a0adfd366 100644 --- a/internal/cache/util.go +++ b/internal/cache/util.go @@ -36,6 +36,7 @@ var SentinelError = errors.New("BUG: error should not be returned") //nolint:rev // caches, which specifically catches and ignores our sentinel error type. func ignoreErrors(err error) bool { return errorsv2.Comparable( + err, SentinelError, context.DeadlineExceeded, context.Canceled, |