From 48a83646ca21e4e03b1c46abfce1dc78c59c9a74 Mon Sep 17 00:00:00 2001 From: Kacper Podpora Date: Sun, 27 Oct 2024 02:30:01 +0200 Subject: [PATCH] providers/scim: fix scim sync (#11165) --- authentik/lib/sync/outgoing/exceptions.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/authentik/lib/sync/outgoing/exceptions.py b/authentik/lib/sync/outgoing/exceptions.py index 843436821860..492fad7c40e3 100644 --- a/authentik/lib/sync/outgoing/exceptions.py +++ b/authentik/lib/sync/outgoing/exceptions.py @@ -9,16 +9,16 @@ class TransientSyncException(BaseSyncException): """Transient sync exception which may be caused by network blips, etc""" -class NotFoundSyncException(BaseSyncException): - """Exception when an object was not found in the remote system""" +class BadRequestSyncException(BaseSyncException): + """Exception when invalid data was sent to the remote system""" -class ObjectExistsSyncException(BaseSyncException): - """Exception when an object already exists in the remote system""" +class NotFoundSyncException(BadRequestSyncException): + """Exception when an object was not found in the remote system""" -class BadRequestSyncException(BaseSyncException): - """Exception when invalid data was sent to the remote system""" +class ObjectExistsSyncException(BadRequestSyncException): + """Exception when an object already exists in the remote system""" class StopSync(BaseSyncException):