Ignore 409 errors on user syncs
This commit is contained in:
parent
c0a2435cdb
commit
8492ef18fa
|
@ -26,6 +26,10 @@ export default function process(updateCb?: UpdateCallback) {
|
||||||
// if something not found - no changes to perform
|
// if something not found - no changes to perform
|
||||||
if (err?.status === 404) {
|
if (err?.status === 404) {
|
||||||
return
|
return
|
||||||
|
}
|
||||||
|
// The user has already been sync in another process
|
||||||
|
else if (err?.status === 409) {
|
||||||
|
return
|
||||||
} else {
|
} else {
|
||||||
logging.logAlert("Failed to perform user/group app sync", err)
|
logging.logAlert("Failed to perform user/group app sync", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue