diff --git a/src/flux/tasks/update-nylas-objects-task.coffee b/src/flux/tasks/update-nylas-objects-task.coffee index eb83eae17..4dc174b86 100644 --- a/src/flux/tasks/update-nylas-objects-task.coffee +++ b/src/flux/tasks/update-nylas-objects-task.coffee @@ -54,7 +54,8 @@ class UpdateNylasObjectsTask extends Task return Promise.resolve(Task.Status.Finished) .catch APIError, (err) => if err.statusCode in NylasAPI.PermanentErrorCodes - return @performLocal(reverting: true) + @performLocal(reverting: true).then => + return Promise.resolve(Task.Status.Finished) else return Promise.resolve(Task.Status.Retry)