Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Added logs when an activity have been uploaded successfully (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevforget authored Oct 17, 2022
1 parent ac29fda commit 05c28e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tapiriik/sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ def Run(self, exhaustive=False, null_next_sync_on_unlock=False, heartbeat_callba
uploaded_external_id = self._uploadActivity(full_activity, destinationSvcRecord)
except UploadException:
continue # At this point it's already been added to the error collection, so we can just bail.
self._global_logger.info("\t Uploaded")
self._global_logger.info(f"[ACTIVITY UPLOAD] - Successfully uploaded activity for hub user id {self.user['_id']} from partner {activity_origin_partner_name} with source partner activity id {origin_partner_activity_id} to destination partner {destSvc.ID} with destination partner activity ID {uploaded_external_id}")

activity.Record.MarkAsSynchronizedTo(destinationSvcRecord)
successful_destination_service_ids.append(destSvc.ID)
Expand Down

0 comments on commit 05c28e0

Please sign in to comment.