                                 fatalError()
                             }
                         }
-                
                     })
                 }
             }

            workoutsToSync.forEach { workout in
                if let workoutDetail = workout.workoutDetails {
                    runKeeper.postActivity(workoutDetail, failure: { (error, msg) in
                        print("FAILED")
                        dispatch_async(dispatch_get_main_queue()) {
                            vcu.hideActivityIndicator(self.view)
                            let errorMessage: String

                        }
                    },
                    success: { (savedKey) in
                        if let uuid = workout.workoutDetails?.UUID?.UUIDString {

                            if let syncLog = self.syncLog(uuid) {
