1
0
Fork 0
mirror of synced 2024-07-09 00:06:05 +12:00

Merge pull request #10847 from Budibase/budi-7054-handle-409-errors-specifically-in-syncuserstoallapps-call

Ignore 409 errors on user syncs
This commit is contained in:
Adria Navarro 2023-06-09 15:18:19 +01:00 committed by GitHub
commit b26e5b935b

View file

@ -26,6 +26,10 @@ export default function process(updateCb?: UpdateCallback) {
// if something not found - no changes to perform
if (err?.status === 404) {
return
}
// The user has already been sync in another process
else if (err?.status === 409) {
return
} else {
logging.logAlert("Failed to perform user/group app sync", err)
}