fix(GODT-2419): Use connector.ErrOperationNotAllowed

Return this error when we detect operations that we know are not allowed
so that gluon does not report them to sentry.

Includes Gluon update for the connector error
(https://github.com/ProtonMail/gluon/pull/309)
This commit is contained in:
Leander Beernaert
2023-02-28 16:54:57 +01:00
parent 0b35b275d3
commit 9e4310712c
3 changed files with 15 additions and 17 deletions

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.18
require (
github.com/0xAX/notificator v0.0.0-20220220101646-ee9b8921e557
github.com/Masterminds/semver/v3 v3.1.1
github.com/ProtonMail/gluon v0.14.2-0.20230228123113-22bea5989bff
github.com/ProtonMail/gluon v0.14.2-0.20230228154054-7b2d621cdfd0
github.com/ProtonMail/go-autostart v0.0.0-20210130080809-00ed301c8e9a
github.com/ProtonMail/go-proton-api v0.3.1-0.20230209110241-fe7894c4931a
github.com/ProtonMail/go-rfc5322 v0.11.0